import { z } from "zod"; /** * A private S3-compatible bucket the deployment runs for every app's private * files, so private pages don't depend on each workspace connecting storage. * Its settings are separate from Clips' `CLIPS_HOSTED_STORAGE_*`; to share * Clips' bucket, set both to the same values. */ export declare const hostedStorageConfig: z.ZodObject<{ enabled: z.ZodDefault; endpoint: z.ZodOptional; bucket: z.ZodOptional; accessKeyId: z.ZodOptional; secretAccessKey: z.ZodOptional; region: z.ZodOptional; }, z.core.$strip>; export type HostedStorageConfig = z.output; export interface ResolvedHostedStorageConfig { endpoint: string; bucket: string; accessKeyId: string; secretAccessKey: string; region: string; } /** * The hosted bucket's settings, or null when hosted storage is off. Throws * when it is on but a setting is missing, so a half-configured deployment * fails loudly instead of quietly falling back to public storage. */ export declare function resolveHostedStorageConfig(config: HostedStorageConfig): ResolvedHostedStorageConfig | null;