type ExtractArgs = T[keyof T] extends (...args: infer A) => any ? A : any[]; type EventState> = T & { (key?: keyof T, fun?: T[keyof T]): EventState; (target?: Partial): EventState; }; interface BatteryState { snapshot: [BatteryState]; target: any; level: number; charging: boolean; chargingTime: number; dischargingTime: number; callback(): void; change(): void; mount(): void; clean(): void; } type BatteryArg = Partial | BatteryState['change']; declare const batteryEvent: () => EventState; interface ClipboardState { snapshot: [ClipboardState]; clipboard: string; callback(): void; change(): void; mount(): void; clean(): void; } type ClipboardArg = Partial | ClipboardState['change']; declare const clipboardEvent: () => EventState; interface GeolocationState { snapshot: [GeolocationState]; geolocation: any; id: number; callback(): void; change(): void; mount(): void; clean(): void; } type GeolocationArg = Partial | GeolocationState['change']; declare const geolocationEvent: () => EventState; interface MediaQueryState { snapshot: [MediaQueryState]; callback(): void; change(): void; mount(): void; clean(): void; } type MediaQueryArg = Partial | MediaQueryState['change']; declare const mediaQueryEvent: () => void; interface OnlineState { snapshot: [OnlineState]; online: boolean; callback(): void; change(): void; mount(): void; clean(): void; } type OnlineArg = Partial | OnlineState['change']; declare const onlineEvent: () => EventState; type Vec3 = [x: number, y: number, z: number]; interface OrientState { snapshot: [OrientState]; active: boolean; _active: boolean; _value: Vec3; value: Vec3; delta: Vec3; offset: Vec3; movement: Vec3; memo: any; callback(): void; change(): void; mount(): void; clean(): void; } type OrientArg = Partial | OrientState['change']; declare const orientEvent: () => EventState; interface WindowSizeState { snapshot: [WindowSizeState]; width: number; height: number; callback(): void; change(): void; mount(): void; clean(): void; } type WindowSizeArg = Partial | WindowSizeState['change']; declare const windowSizeEvent: () => EventState; export { type BatteryArg, type BatteryState, type ClipboardArg, type ClipboardState, type GeolocationArg, type GeolocationState, type MediaQueryArg, type MediaQueryState, type OnlineArg, type OnlineState, type OrientArg, type OrientState, type WindowSizeArg, type WindowSizeState, batteryEvent, clipboardEvent, geolocationEvent, mediaQueryEvent, onlineEvent, orientEvent, windowSizeEvent };