import { EventsKey } from '../events'; import BaseEvent from '../events/Event'; import { ObjectEvent } from '../Object'; import PluggableMap from '../PluggableMap'; import Control from './Control'; export interface Options { className?: string | undefined; label?: string | Text | HTMLElement | undefined; labelActive?: string | Text | HTMLElement | undefined; activeClassName?: string | undefined; inactiveClassName?: string | undefined; tipLabel?: string | undefined; keys?: boolean | undefined; target?: HTMLElement | string | undefined; source?: HTMLElement | string | undefined; } export default class FullScreen extends Control { constructor(opt_options?: Options); /** * Remove the control from its current map and attach it to the new map. * Subclasses may set up event handlers to get notified about changes to * the map here. */ setMap(map: PluggableMap): void; on(type: string | string[], listener: (p0: any) => any): EventsKey | EventsKey[]; once(type: string | string[], listener: (p0: any) => any): EventsKey | EventsKey[]; un(type: string | string[], listener: (p0: any) => any): void; on(type: 'change', listener: (evt: BaseEvent) => void): EventsKey; once(type: 'change', listener: (evt: BaseEvent) => void): EventsKey; un(type: 'change', listener: (evt: BaseEvent) => void): void; on(type: 'enterfullscreen', listener: (evt: BaseEvent) => void): EventsKey; once(type: 'enterfullscreen', listener: (evt: BaseEvent) => void): EventsKey; un(type: 'enterfullscreen', listener: (evt: BaseEvent) => void): void; on(type: 'error', listener: (evt: BaseEvent) => void): EventsKey; once(type: 'error', listener: (evt: BaseEvent) => void): EventsKey; un(type: 'error', listener: (evt: BaseEvent) => void): void; on(type: 'leavefullscreen', listener: (evt: BaseEvent) => void): EventsKey; once(type: 'leavefullscreen', listener: (evt: BaseEvent) => void): EventsKey; un(type: 'leavefullscreen', listener: (evt: BaseEvent) => void): void; on(type: 'propertychange', listener: (evt: ObjectEvent) => void): EventsKey; once(type: 'propertychange', listener: (evt: ObjectEvent) => void): EventsKey; un(type: 'propertychange', listener: (evt: ObjectEvent) => void): void; }