import type OpenFin from '@openfin/core'; import { BrowserCreateViewRequest, BrowserViewState, BrowserWorkspacePlatformViewOptions } from '../../../../client-api-platform/src/shapes'; /** * Strips unusable `viewTab` colors instead of rejecting the request. A tab color is decoration, and this runs * inside `createView`, so throwing here would abort view creation and leave the surrounding window * half-built over a cosmetic typo. Discarded states fall back to their theme default in the stylesheet. */ export declare const sanitizeViewWorkspacePlatform: (opts: BrowserCreateViewRequest) => BrowserCreateViewRequest; export declare function preserveInteropIfManifestConflict(opts: Partial, fetchManifest: ({ manifestUrl }: { manifestUrl: string; }, callerIdentity: OpenFin.Identity) => any, callerIdentity: OpenFin.Identity): Promise; type ViewStateBase = Pick; export declare const mapInternalWorkspaceDataToWorkspacePlatform: (viewState: T) => T; /** * Moves legacy workspace platform view options into `_internalWorkspaceData`, which Core round-trips through layout * componentState. `viewTab` and newer options are exempt — Core now persists `workspacePlatform` on view options directly, * so they stay put and the runtime becomes the single source of truth. */ export declare const mapWorkspacePlatformToInternalWorkspaceData: (viewState: T) => T; export declare const setHotkeysIfNavigationButtonsEnabled: (options: BrowserCreateViewRequest) => Promise; export declare const registerHotkeyListenersIfEnabled: (viewIdentity: OpenFin.Identity, buttonOptions?: BrowserWorkspacePlatformViewOptions["browserNavigationButtons"]) => void; export {};