import { Widget, type WidgetProps, type WidgetPlacement } from '@deck.gl/core'; export type FullscreenWidgetProps = WidgetProps & { id?: string; /** Widget positioning within the view. Default 'top-left'. */ placement?: WidgetPlacement; /** View to attach to and interact with. Required when using multiple views. */ viewId?: string | null; /** Tooltip message when out of fullscreen. */ enterLabel?: string; /** Tooltip message when fullscreen. */ exitLabel?: string; /** * A compatible DOM element which should be made full screen. By default, the map container element will be made full screen. * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen#Compatible_elements */ container?: HTMLElement; /** * Callback when fullscreen state changes (via user click or browser fullscreen events). */ onFullscreenChange?: (fullscreen: boolean) => void; }; export declare class FullscreenWidget extends Widget { static defaultProps: Required; className: string; placement: WidgetPlacement; fullscreen: boolean; constructor(props?: FullscreenWidgetProps); onAdd(): void; onRemove(): void; onRenderHTML(rootElement: HTMLElement): void; setProps(props: Partial): void; getContainer(): HTMLElement; getFullscreen(): boolean; onFullscreenChange(): void; handleClick(): Promise; requestFullscreen(): Promise; exitFullscreen(): Promise; togglePseudoFullscreen(): void; } //# sourceMappingURL=fullscreen-widget.d.ts.map