import { type WidgetRoute } from "../core/routes";
export declare const widgetRouteChangedEventKey = "squid.widget.routeIdChanged";
export declare const useSquidRouter: () => {
    currentRoute: WidgetRoute | undefined;
    modalRoute: {
        route: WidgetRoute;
        params?: {
            [key: string]: any | undefined;
        };
    } | undefined;
    isModalOpen: boolean | undefined;
    handleCloseModal: () => void;
    switchRoute: (route: WidgetRoute, params?: {
        [key: string]: any;
    } | undefined, addRouteToHistory?: boolean) => void;
    previousRoute: () => void;
    currentRouteParams: {
        [key: string]: any;
    } | undefined;
    isCurrentRouteFirstRoute: boolean;
};
