/** 生成存储 key 的路径后缀:pathname 或 pathname#memory_key(来自 URL memory_key 参数) */ export declare function getStorageKeySuffix(): string; /** * 生成组件实例的存储 key。 * @param componentId 组件实例 id(如 __id) * @param prefix 前缀,如 'table-setting'、'record-board-column-visibility' */ export declare function getComponentStorageKey(componentId: string, prefix: string): string; export interface ColumnSettingStorageItem { key: string; dataIndex: string; title?: unknown; titleString?: string; isShow: boolean; sortIndex?: number; fixed?: 'left' | 'right' | boolean; } export declare function saveColumnSettingToLocal(params: { componentId: string; columnSetting: ColumnSettingStorageItem[]; }): void; export declare function getColumnSettingFromLocal(componentId?: string): ColumnSettingStorageItem[] | null; export declare function clearColumnSettingFromLocal(componentId?: string): void; export declare function saveColumnVisibilityToLocal(params: { componentId: string; columnVisibility: Record; /** 列 key 顺序,用于列设置弹层拖拽排序后持久化 */ columnOrder?: string[]; }): void; export declare function getColumnVisibilityFromLocal(componentId?: string): Record | null; /** RecordBoard 列设置(显隐 + 顺序)从 localStorage 读取,用于列设置弹层拖拽排序与显隐持久化 */ export declare function getRecordBoardColumnSettingFromLocal(componentId?: string): { columnVisibility: Record; columnOrder: string[] | null; } | null; export declare function clearColumnVisibilityFromLocal(componentId?: string): void;