import type { PromptAiSdkFn } from '@levelcode/common/types/contracts/llm';
import type { Logger } from '@levelcode/common/types/contracts/logger';
import type { ParamsExcluding } from '@levelcode/common/types/function-params';
/**
 * Applies code edits using Relace AI, with fallback to o3-mini on failure.
 *
 * @returns The updated code with edits applied.
 * @throws {Error} When the request is aborted by user. Check with `isAbortError()`. Aborts are not retried.
 */
export declare function promptRelaceAI(params: {
    initialCode: string;
    editSnippet: string;
    instructions: string | undefined;
    promptAiSdk: PromptAiSdkFn;
    logger: Logger;
} & ParamsExcluding<PromptAiSdkFn, 'messages' | 'model'>): Promise<string>;
