import { z } from 'zod'; import { type ModelsJsonConfig } from '../config/models-json.js'; export declare const CustomImageProviderInputSchema: z.ZodObject<{ baseUrl: z.ZodString; headers: z.ZodOptional>; imageGeneration: z.ZodObject<{ api: z.ZodLiteral<"openai-images">; name: z.ZodString; documentationUrl: z.ZodOptional; apiKeyUrl: z.ZodOptional; defaultModel: z.ZodString; auth: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"bearer">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"header">; headerName: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"none">; }, z.core.$strict>], "type">; paths: z.ZodOptional; edits: z.ZodOptional; }, z.core.$strict>>; network: z.ZodOptional; }, z.core.$strict>>; models: z.ZodArray; capabilities: z.ZodObject<{ generate: z.ZodOptional; supportsSize: z.ZodOptional; supportsAspectRatio: z.ZodOptional; supportsResolution: z.ZodOptional; }, z.core.$strict>>; edit: z.ZodOptional; supportsSize: z.ZodOptional; supportsAspectRatio: z.ZodOptional; }, z.core.$strict>>; geometry: z.ZodOptional>; aspectRatios: z.ZodOptional>; resolutions: z.ZodOptional>>; }, z.core.$strict>>; output: z.ZodOptional>>; formats: z.ZodOptional>>; backgrounds: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; defaults: z.ZodOptional; size: z.ZodOptional; outputFormat: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>; export type CustomImageProviderInput = z.infer; export interface CustomImageProviderRecord extends CustomImageProviderInput { providerId: string; } export declare function listCustomImageProviders(config: ModelsJsonConfig): CustomImageProviderRecord[]; export declare function upsertCustomImageProvider(config: ModelsJsonConfig, providerIdRaw: string, input: unknown): ModelsJsonConfig; export declare function deleteCustomImageProvider(config: ModelsJsonConfig, providerIdRaw: string): ModelsJsonConfig;