import { RequestConfig } from '../ai-prompt-code-editor/PromptCodeEditor';
export interface CodeTransformResponse {
    codeWithAnnotations: string;
    modifiedCode: string;
}
export declare const useCodeTransform: (requestConfig: RequestConfig) => {
    onSubmit: (componentBody: {
        code: string;
        prompt: string;
    }) => Promise<void>;
    loading: boolean;
    response: CodeTransformResponse | null;
    error: string | null;
};
