/** * Server-safe `ag-shell-*` cookie parser (SURF-007). * Cookie body is `sidebar:,inspector:` in any key order with * (';' still parsed — it was the old separator, which document.cookie * truncates so it could never have round-tripped in a real browser). * extra keys tolerated. Never throws; anything oversized or malformed * parses to {}. */ export type SidebarState = 'expanded' | 'rail' | 'collapsed'; export type InspectorState = 'open' | 'closed'; export interface AppShellCookie { sidebar?: SidebarState; inspector?: InspectorState; } export declare function parseAppShellCookie(value: string | undefined | null): AppShellCookie; /** Cookie value body (`sidebar:x,inspector:y`) without name or attributes. */ export declare function serializeAppShellCookieValue(state: AppShellCookie): string; /** Full `ag-shell-=...` Set-Cookie pair (SURF-007). */ export declare function serializeAppShellCookie(key: string, state: AppShellCookie): string; //# sourceMappingURL=parseAppShellCookie.d.ts.map