import React from 'react'; interface OverrideRow { type: string; maxSize: number | string; } interface MimeTypeOption { value: string; label: string; } interface FileStorageSettingProps { setting: { fileStorage: string; s3Region?: string; s3Bucket?: string; s3AccessKeyId?: string; s3SecretAccessKey?: string; s3Endpoint?: string; s3ForcePathStyle: boolean; s3BaseUrl?: string; azureStorageConnectionString?: string; azureStorageContainerName: string; azureContainerAccess: string; azureBaseUrl?: string; gcsBucket?: string; gcsServiceAccountKey?: string; gcsBaseUrl?: string; fileStorageConfigOverrides: string[]; uploadMaxFileSize?: number | null; uploadMaxFileSizePinned: boolean; uploadMaxFileSizePerType: OverrideRow[]; uploadMaxFileSizePerTypePinned: boolean; uploadAllowedMimeTypes: string[]; uploadMimeTypeOptions: MimeTypeOption[]; uploadAllowedMimeTypesConfigExtras: string[]; }; } /** * Visible hint below a control. The Field components' `helperText` prop * renders as a tooltip on the field LABEL — these rows carry their label in * the left column instead, so a tooltip would never show. */ export declare function FieldHint({ children }: { children: React.ReactNode; }): React.JSX.Element; export declare function SettingRow({ label, children }: { label: string; children: React.ReactNode; }): React.JSX.Element; /** * Values pinned by config file / environment variable are shown read-only and * OUTSIDE the form — a disabled-but-registered input would still post its * (possibly masked) value to saveSetting and overwrite the DB row with * garbage. */ export declare function PinnedValue({ value }: { value?: string | null; }): React.JSX.Element; export default function FileStorageSetting({ setting }: FileStorageSettingProps): React.JSX.Element; export declare const layout: { areaId: string; sortOrder: number; }; export declare const query = "\n query Query {\n setting {\n fileStorage\n s3Region\n s3Bucket\n s3AccessKeyId\n s3SecretAccessKey\n s3Endpoint\n s3ForcePathStyle\n s3BaseUrl\n azureStorageConnectionString\n azureStorageContainerName\n azureContainerAccess\n azureBaseUrl\n gcsBucket\n gcsServiceAccountKey\n gcsBaseUrl\n fileStorageConfigOverrides\n uploadMaxFileSize\n uploadMaxFileSizePinned\n uploadMaxFileSizePerType\n uploadMaxFileSizePerTypePinned\n uploadAllowedMimeTypes\n uploadMimeTypeOptions\n uploadAllowedMimeTypesConfigExtras\n }\n }\n"; export {};