import { type ChatFirstAppLayoutPreference } from "@agent-native/core/client/agent-chat"; export declare const WORKSPACE_APP_LAYOUT_STATE_KEY = "chat-first-app-layout"; export type WorkspaceAppLayoutPersistenceError = "device" | "workspace" | "both"; export declare function normalizeWorkspaceAppLayout(value: unknown): ChatFirstAppLayoutPreference; export declare function orderWorkspaceApps(apps: readonly T[], layout: ChatFirstAppLayoutPreference): T[]; export declare function workspaceAppMatchesQuery(app: { name: string; description?: string; }, query: string): boolean; export declare function toggleWorkspaceAppPinned(layout: ChatFirstAppLayoutPreference, appId: string): ChatFirstAppLayoutPreference; export declare function useWorkspaceAppLayout(): { layout: ChatFirstAppLayoutPreference; persistenceError: WorkspaceAppLayoutPersistenceError | null; persistLayout: (next: ChatFirstAppLayoutPreference) => void; togglePinned: (appId: string) => void; }; //# sourceMappingURL=workspace-app-layout.d.ts.map