/**
 * Reactive sidebar visibility state. Provisioned by `AppShell.svelte` via
 * `sidebar_state_context`; consumers read `show_sidebar` and call
 * `toggle_sidebar` / `activate`.
 *
 * @module
 */
/**
 * Svelte context carrying a reactive `SidebarState` accessor. Set by
 * `AppShell.svelte` (creates a fresh `SidebarState` if not supplied);
 * consumers call `sidebar_state_context.get()` to read or toggle visibility.
 */
export declare const sidebar_state_context: {
    get: (error_message?: string) => () => SidebarState;
    get_maybe: () => (() => SidebarState) | undefined;
    set: (value: () => SidebarState) => () => SidebarState;
};
export interface SidebarStateOptions {
    /**
     * Reactive getter that controls whether the sidebar is enabled. When
     * supplied, overrides the internal `enabled` state — `show_sidebar`
     * auto-returns `false` while the getter returns `false`.
     */
    enabled?: () => boolean;
}
export declare class SidebarState {
    #private;
    get enabled(): boolean;
    set enabled(value: boolean);
    get show_sidebar(): boolean;
    set show_sidebar(value: boolean);
    constructor(options?: SidebarStateOptions);
    toggle_sidebar(value?: boolean): void;
    /**
     * Show the sidebar and enable the toggle. The returned disposer hides
     * and disables on cleanup — pair with `$effect` for scoped activation.
     *
     * @mutates `this` - sets `enabled` and `show_sidebar`; disposer clears both
     */
    activate(): () => void;
}
//# sourceMappingURL=sidebar_state.svelte.d.ts.map