import type { ApiProvider, CallApiContextParams, ProviderOptions, ProviderResponse } from '../../types';
export interface DifyProviderConfig {
    url: string;
    apiKey: string;
    user?: string;
    conversationId?: string;
    responseMode?: 'streaming' | 'blocking';
}
export declare class DifyProvider implements ApiProvider {
    private httpProvider;
    private providerConfig;
    config: any;
    constructor(config: DifyProviderConfig, options?: ProviderOptions);
    id(): string;
    private parseSSEStream;
    callApi(prompt: string, context?: CallApiContextParams): Promise<ProviderResponse>;
}
//# sourceMappingURL=dify.d.ts.map