import { Sidebar, SidebarViewer } from '@parlor/common/sidebars-manager';
type ActiveSidebar = Sidebar & {
    isViewerAdmin: boolean;
    isViewerUser: boolean;
};
export declare const useOpenedSidebars: () => {
    /** Returns the active sidebar */
    activeSidebar: ActiveSidebar;
    /** Returns whether or not the sidebar is active. */
    isActiveSidebar: boolean;
    /** It's a list of sidebars that are open. */
    sidebars: Partial<Record<import("@parlor/common/sidebars-manager").Id, string> & {
        isOpenOverModal?: boolean;
        isRoot?: boolean;
        options?: import("@parlor/common/sidebars-manager").SidebarsManagerTypes.SidebarOptions.Base<{
            [x: string]: unknown;
        }, {
            [x: string]: unknown;
        }>;
        pulloutId?: string;
        pulloutType?: import("@parlor/common/sidebars-manager").SIDEBAR_TYPES;
        viewer?: SidebarViewer;
    }>[];
    /** Returns true if the pullout is open, false otherwise. */
    isPulloutOpen: boolean;
};
export declare const useActiveSidebar: () => ActiveSidebar;
export {};
