import type OpenAI from 'openai';
import type { IRetryManager } from '../../../../shared/interfaces/retry-manager.interface.js';
import type { ParseResult } from './types.js';
import type { TokenBucketRateLimiter } from './token-bucket-rate-limiter.js';
export interface OpenAiRelationExtractDeps {
    rateLimiter: TokenBucketRateLimiter;
    retryManager: IRetryManager;
    calculateAndLogCost: (provider: 'openai', promptTokens: number, completionTokens: number) => number;
    parseLlmRelationsResponse: (text: string) => ParseResult;
}
export declare function extractRelationsWithOpenAI(openaiClient: OpenAI, prompt: string, deps: OpenAiRelationExtractDeps): Promise<ParseResult>;
//# sourceMappingURL=extract-relations-openai.d.ts.map