import type { AssistantState } from "./types/client.js";
/**
 * Hook to access a slice of the assistant state with automatic subscription
 *
 * @param selector - Function to select a slice of the state
 * @returns The selected state slice
 *
 * @example
 * ```typescript
 * const aui = useAui({
 *   foo: RootScope({ ... }),
 * });
 *
 * const bar = useAuiState((s) => s.foo.bar);
 * ```
 */
export declare const useAuiState: <T>(selector: (state: AssistantState) => T) => T;
//# sourceMappingURL=useAuiState.d.ts.map