import * as React from "react"; import { IStackPageProps } from "./Page"; interface IProps { initialPage?: string; title?: string; children: Array>; } export declare const StackSwitchApiContext: React.Context; export declare function useStackSwitchApi(): IStackSwitchApi; export interface IStackSwitchApi { activatePage: (pageName: string, payload: string, subUrl?: string) => void; updatePageBreadcrumbTitle: (title?: string) => void; id?: string; } export declare function useStackSwitch(): [React.ComponentType, IStackSwitchApi]; export declare function StackSwitch(props: IProps): JSX.Element; export {};