SwitchDocOpts: {
    force?: boolean;
    position?: PositionState | null;
    source?: "markdown-link" | "history-stack";
}