import { c as WorkspaceFileEntry, u as WorkspaceFileOpenWithApplication } from '../workspaceFileManagerLocations-8T9QKaP5.js'; export { C as CreateWorkspaceFileManagerSessionInput, W as WorkspaceFileActivationTarget, a as WorkspaceFileDirectoryListing, b as WorkspaceFileDirectoryLocation, d as WorkspaceFileEntryKind, e as WorkspaceFileExternalLocation, f as WorkspaceFileLocation, g as WorkspaceFileLocationKind, h as WorkspaceFileLocationSection, i as WorkspaceFileManagerCapabilities, j as WorkspaceFileManagerFileActivationRequest, k as WorkspaceFileManagerFileDefaultOpener, l as WorkspaceFileManagerHost, m as WorkspaceFileManagerHostFallbackAction, n as WorkspaceFileManagerHostFallbackActionKind, o as WorkspaceFileManagerHostFileActivationResult, p as WorkspaceFileManagerMutationErrorMessage, q as WorkspaceFileManagerPersistedState, r as WorkspaceFileManagerService, s as WorkspaceFileManagerSession, t as WorkspaceFileManagerState, v as WorkspaceFilePreviewKind, w as WorkspaceFilePreviewState, x as WorkspaceFileRecentLocation, y as WorkspaceFileSearchEntry, z as WorkspaceFileSearchResult, A as createWorkspaceFileManagerService, B as findWorkspaceFileLocationById, D as flattenWorkspaceFileLocations, E as isWorkspaceFileExternalLocation, F as isWorkspaceFileRecentLocation, G as resolveWorkspaceFileLocationDefaultId } from '../workspaceFileManagerLocations-8T9QKaP5.js'; export { W as WorkspaceFileManagerI18nKey, a as WorkspaceFileManagerI18nRuntime, c as createWorkspaceFileManagerI18nRuntime, r as resolveRevealInFolderLabel, w as workspaceFileManagerI18nNamespace, b as workspaceFileManagerI18nResources } from '../index-CDQITT_i.js'; import '@tutti-os/workspace-file-preview'; import '@tutti-os/ui-i18n-runtime'; type WorkspaceFileManagerArrangeMode = "none" | "name" | "kind" | "application" | "lastOpened" | "dateAdded" | "modified" | "created" | "size"; declare function sortWorkspaceFileEntriesForArrangeMode(entries: readonly WorkspaceFileEntry[], arrangeMode: WorkspaceFileManagerArrangeMode): readonly WorkspaceFileEntry[]; declare function resolveWorkspaceFileOpenWithCacheKey(entry: Pick): string; declare class WorkspaceFileOpenWithApplicationsCache { private readonly applicationsByKey; private readonly inflightByKey; private readonly warmupScheduledKeys; get(key: string): WorkspaceFileOpenWithApplication[] | null; resolve(key: string, load: () => Promise): Promise; scheduleWarmup(entries: readonly WorkspaceFileEntry[], load: (entry: WorkspaceFileEntry) => Promise): void; } /** * Open / open-with / browser-activation advisories. * * These helpers live on the file-manager host edge, not in * `@tutti-os/workspace-file-preview` (see that package CONTRACT.md). */ interface WorkspaceFileOpenWithEntry { kind: string; name?: string; path: string; } /** * Extensions where macOS Launch Services may register video handlers even when * the workspace file is source code (UTI / uniform type collisions). */ declare const workspaceFileVideoHandlerCollisionExtensions: Set; declare function isWorkspaceFileBrowserOpenable(entry: WorkspaceFileOpenWithEntry): boolean; declare function shouldFilterVideoPlayersForOpenWith(entry: WorkspaceFileOpenWithEntry): boolean; interface WorkspaceFileEntryIconPolicyOptions { includeImageThumbnails?: boolean; } declare function shouldResolveWorkspaceFileEntryIcon(entry: WorkspaceFileEntry, options?: WorkspaceFileEntryIconPolicyOptions): boolean; declare function shouldUseWorkspaceFileExtensionDocumentIcon(entry: WorkspaceFileEntry): boolean; declare function shouldUseWorkspaceFileArchiveIcon(entry: WorkspaceFileEntry): boolean; declare function isWorkspaceApplicationBundle(entry: { kind: string; name: string; }): boolean; declare function resolveWorkspaceFileDefaultApplicationIconExtension(entry: { kind: string; name: string; }): string | null; declare function resolveWorkspaceFileEntryIconCacheKey(entry: WorkspaceFileEntry): string; declare function normalizeWorkspaceFilePath(value?: string | null, rootPath?: string | null): string; declare function formatWorkspaceFilePathForDisplay(value?: string | null, platform?: string | null): string; declare function workspaceFileName(path: string): string; export { WorkspaceFileEntry, type WorkspaceFileManagerArrangeMode, WorkspaceFileOpenWithApplication, WorkspaceFileOpenWithApplicationsCache, formatWorkspaceFilePathForDisplay, isWorkspaceApplicationBundle, isWorkspaceFileBrowserOpenable, normalizeWorkspaceFilePath, resolveWorkspaceFileDefaultApplicationIconExtension, resolveWorkspaceFileEntryIconCacheKey, resolveWorkspaceFileOpenWithCacheKey, shouldFilterVideoPlayersForOpenWith, shouldResolveWorkspaceFileEntryIcon, shouldUseWorkspaceFileArchiveIcon, shouldUseWorkspaceFileExtensionDocumentIcon, sortWorkspaceFileEntriesForArrangeMode, workspaceFileName, workspaceFileVideoHandlerCollisionExtensions };