import type { Ref } from 'vue';
import type { UseLoadingProps } from '../composables/useLoading';
export interface DashboardContext extends /** @vue-ignore */ Pick<UseLoadingProps, 'storage' | 'storageKey'> {
    contextId?: string;
    sidebarOpen?: Ref<boolean>;
    isLoading?: Ref<boolean>;
    toggleSearch?: () => void;
    toggleSidebar?: () => void;
    load?: (loading: boolean, contextId?: string) => void;
}
export declare const useDashboard: <T extends DashboardContext | null | undefined = DashboardContext>(fallback?: T | undefined) => T extends null ? DashboardContext | null : DashboardContext, provideDashboardContext: (contextValue: DashboardContext) => DashboardContext;
