interface UseAiOperationOptions<TResult> {
    initialData?: TResult | null;
}
interface UseAiOperationResult<TResult> {
    data: TResult | null;
    loading: boolean;
    error: string | null;
    execute: (executeFn: (signal: AbortSignal) => Promise<TResult>) => Promise<void>;
    cancel: () => void;
    reset: () => void;
}
export declare function useAiOperation<TResult>(options?: UseAiOperationOptions<TResult>): UseAiOperationResult<TResult>;
export {};
//# sourceMappingURL=useAiOperation.d.ts.map