/** The file explorer's text, which a host translates through UIProvider's `fileExplorer`. */ export interface FileExplorerText { preview: { shareFile: string; open: string; userType: string; select: (name: string) => string; viewDetails: string; openFolder: string; /** A path's page in the app, as in "Copy link". */ link: string; /** An object's key within its storage, as in "Copy path". */ path: string; detailsTab: string; previewTab: string; preview: string; openFullPreview: string; /** Names the choice between a compact preview and the full window. */ previewLayout: string; /** The preview in a panel over the page, beside `fullWindow`. */ compact: string; fullWindow: string; streamed: string; streamedTooltip: string; loading: string; linkError: string; errorTitle: string; previewError: string; tooLarge: string; tooLargeSize: (size: string) => string; downloadInstead: string; archiveTitle: string; archiveMessage: string; unsupportedTitle: string; unsupportedMessage: string; notebookParseError: string; copyUri: string; previousFile: string; nextFile: string; csvRows: (count: number, columns: number) => string; csvFirstRows: (count: number, columns: number) => string; head: string; tail: string; firstLines: (count: number) => string; lastLines: (count: number) => string; notebookOutput: string; }; createFolder: { action: string; submit: string; creating: string; folder: string; namePlaceholder: string; success: (name: string) => string; error: (message: string) => string; invalidTarget: string; unsupported: string; validation: { reserved: string; separator: string; exists: string; }; }; rename: { action: string; submit: string; renaming: string; file: string; namePlaceholder: string; success: (name: string) => string; failed: string; unsupported: string; validation: { reserved: string; separator: string; exists: string; }; }; readOnly: string; /** Names what a copy took, in its toast. */ fileLink: string; uri: string; cors: { explanation: { title: string; description: string; action: string; note: string; }; actions: { addRules: string; }; propagating: { title: string; description: string; stages: { submitted: string; propagating: string; verified: string; }; telemetry: { probing: string; }; }; }; selectedCount: (count: number) => string; loadingMore: string; partialCount: (count: number) => string; notFound: { title: (name: string) => string; description: string; }; treeMoreCount: (count: number) => string; treeMoreCountPartial: (count: number) => string; messages: { noWriteAccess: string; uploadsUnsupported: string; transferLimitExceeded: (limit: string) => string; noFilesForDownload: string; downloadLinkFailed: string; fileLinkFailed: string; noUri: string; storageUnavailable: string; waitForCurrentUpload: string; waitForUpload: string; downloadUnsupported: string; sharingUnsupported: string; deleteUnsupported: string; uploadUnsupported: string; noItemsForDeletion: string; deleting: string; deleteSomeFailed: string; deleteSuccess: string; deleteFailed: (message: string) => string; noFilesToUpload: string; invalidUploadTarget: string; uploadInitFailed: string; uploadQueuedInfo: string; connectFailed: string; corsNoStorage: string; corsAdded: string; corsPropagating: string; previewUnsupported: string; /** A folder's listing failed; `name` is the folder. */ loadFailed: (name: string, message: string) => string; /** A failure that came with no message of its own. */ unknownError: string; /** Why a storage service refused, recognized by its error code. */ cloudErrors: { accessDenied: string; notFound: string; credentials: string; throttled: string; network: string; /** Any other error from the storage service, whose own text shows below it. */ other: string; }; /** Names the error's own text for its copy button: "Copy error". */ errorDetail: string; }; chrome: { explorer: string; upload: string; downloadFromBrowser: string; access: string; manageAccess: string; selectAll: string; name: string; size: string; created: string; hash: string; storageIconAlt: string; type: string; storages: string; groupBy: string; groupByUser: string; groupByType: string; modified: string; lastModified: string; contentType: string; storageClass: string; details: string; selectFiles: string; selectFolder: string; /** Names the table of a folder's contents. */ files: string; /** Names the folder tree. */ folders: string; /** Names the trail from the storage down to the open folder. */ location: string; /** Explains a share link, beside Share. */ shareHelp: string; }; confirmUpload: { title: string; text: (path: string) => string; defaultPath: string; noPath: string; confirm: string; target: string; sizeLimitTitle: string; sizeLimitBody: (total: string, max: string) => string; sizeLimitHint: string; skippedOverLimit: (limit: string) => string; }; confirmDelete: { title: string; text: string; }; empty: { nothingSelected: string; nothingSelectedHint: string; folderEmpty: string; dropHint: string; readOnlyHint: string; connectionIssue: string; shareThisFile: string; }; upload: { inQueue: (position: number, total: number) => string; queuedShort: (position: number, total: number) => string; destination: string; eta: string; uploading: string; completeTitle: string; failedTitle: string; unknownTitle: string; unknownShort: string; canceled: string; completed: string; failed: string; totalSize: string; size: string; calculating: string; /** In place of the time left once only a few seconds remain. */ almostDone: string; expandDetails: string; minimizeDetails: string; sessionNotQueued: (id: string, status: string) => string; allCanceled: (count: number) => string; someUploaded: (count: number) => string; someCanceled: (count: number) => string; allUploaded: string; failedSummary: (failed: number, total: number) => string; failReasonGeneric: string; refreshFailed: (name: string, message: string) => string; unknownError: string; overallProgress: string; cancelFile: (name: string) => string; confirmCancelFile: string; confirmCancelAll: string; filesDone: (done: number, total: number) => string; progress: (uploading: number, done: number, total: number) => string; fileCount: (count: number) => string; keepPageOpen: string; }; } export declare const FILE_EXPLORER_STRINGS: FileExplorerText; /** The file explorer's strings: the host's translations over the English defaults. */ export declare function useFileExplorerStrings(): FileExplorerText;