import type { OfficeCapabilities } from '../../core/types'; import type { OfficeViewerLayoutContentScaling, OfficeViewerLayoutContextValue } from './types'; /** 可复用外壳控制器输入。 */ type UseOfficeViewerLayoutControllerOptions = { /** 非受控缩放初始值。 */ defaultZoom?: number; /** 受控缩放值。 */ zoom?: number; /** 用户请求改变缩放时触发。 */ onZoomChange?: (zoom: number) => void; /** 浏览器全屏状态改变时触发。 */ onFullscreenChange?: (fullscreen: boolean) => void; /** 请求全屏失败时触发。 */ onFullscreenError?: (error: Error) => void; /** 当前内容缩放职责。 */ contentScaling: OfficeViewerLayoutContentScaling; capabilities?: OfficeCapabilities; }; /** 管理复用外壳的缩放、全屏状态及公共上下文契约。 */ export declare function useOfficeViewerLayoutController({ defaultZoom, zoom, onZoomChange, onFullscreenChange, onFullscreenError, contentScaling, capabilities, }: UseOfficeViewerLayoutControllerOptions): OfficeViewerLayoutContextValue; export {};