export interface DbAdminNavigationState { view: "database"; table: string | null; mode: "table" | "sql"; } export interface UseDbAdminAgentSyncArgs { table: string | null; mode: "table" | "sql"; enabled?: boolean; } /** * Write the current database-admin view to application state whenever the * selected table or mode changes, so the agent always knows what the user is * looking at. */ export declare function useDbAdminAgentSync({ table, mode, enabled, }: UseDbAdminAgentSyncArgs): void; /** * Poll the one-shot `navigate` app-state key. When the agent requests a jump to * a database table, invoke `onNavigate(table)` then clear the key so it does * not replay on the next poll. */ export declare function useNavigateConsumer(onNavigate: (table: string) => void, enabled?: boolean): void; //# sourceMappingURL=useAgentSync.d.ts.map