import { CopilotCapability, CopilotChatOptions, CopilotImageOptions, CopilotImageToImageProvider, CopilotProviderType, CopilotTextToImageProvider, PromptMessage } from '../types'; export type FalConfig = { apiKey: string; }; export declare class FalProvider implements CopilotTextToImageProvider, CopilotImageToImageProvider { private readonly config; static readonly type = CopilotProviderType.FAL; static readonly capabilities: CopilotCapability[]; readonly availableModels: string[]; constructor(config: FalConfig); static assetsConfig(config: FalConfig): boolean; get type(): CopilotProviderType; getCapabilities(): CopilotCapability[]; isModelAvailable(model: string): Promise; private extractArray; private extractPrompt; private extractFalError; private handleError; private parseSchema; generateText(messages: PromptMessage[], model?: string, options?: CopilotChatOptions): Promise; generateTextStream(messages: PromptMessage[], model?: string, options?: CopilotChatOptions): AsyncIterable; private buildResponse; generateImages(messages: PromptMessage[], model?: string, options?: CopilotImageOptions): Promise>; generateImagesStream(messages: PromptMessage[], model?: string, options?: CopilotImageOptions): AsyncIterable; } //# sourceMappingURL=fal.d.ts.map