import type { ClientExtensions } from '@aws-amplify/data-schema/runtime'; import type { getSchema } from '../types'; import type { AiClientState } from './shared'; export interface UseAIGenerationHookWrapper['generations'], Schema extends Record> { useAIGeneration: (routeName: U) => [ Awaited>, (input: Schema[U]['args']) => void ]; } export type UseAIGenerationHook['generations'], Schema extends Record> = (routeName: Key) => [ Awaited>, (input: Schema[Key]['args']) => void ]; type AIGenerationClient> = Pick, 'generations'>; export declare function createUseAIGeneration>, Schema extends getSchema>(client: Client): UseAIGenerationHook; export {};