export interface S3ConnectionCandidate { bucket?: string; region?: string; accessKeyId?: string; secretAccessKey?: string; endpoint?: string; forcePathStyle?: boolean; } export declare function verifyS3Connection(candidate: S3ConnectionCandidate): Promise; export interface AzureConnectionCandidate { connectionString?: string; } export declare function verifyAzureConnection(candidate: AzureConnectionCandidate): Promise; export interface GcsConnectionCandidate { bucket?: string; serviceAccountKey?: string; } export declare function verifyGcsConnection(candidate: GcsConnectionCandidate): Promise; /** * Validate a saveSetting payload that switches to (or updates) a cloud file * storage provider. Candidate values mirror the runtime resolution: config/env * overrides win, then the submitted values. Returns a failure message to * reject the save with, or null to let it through (including when the payload * doesn't touch cloud storage at all). */ export declare function validateFileStorageSave(body: Record): Promise;