export interface DesktopSidebarMetadata { available: boolean; mode?: string; collapsed: Record; expanded: Record; projects: Record; assignments: Record; projectOrder: string[]; pinnedIds: string[]; migratedPinnedIds: string[]; nativePinnedOrder: string[]; projectIdMappings: Record; projectlessIds: string[]; rootHints: Record; customSectionThreadIds: string[]; limitations: string[]; } export type DesktopSidebarReader = (codexHome: string) => Promise; /** Select only layout metadata. Never return the global state, credentials, or drafts. */ export declare function readDesktopSidebarMetadata(home: string): Promise; export declare function parseDesktopSidebarMetadata(value: unknown, home: string): DesktopSidebarMetadata;