/// <reference types="wicg-file-system-access" />

declare const THREE: typeof import('three')
// todo make optional
declare const bot: Omit<import('mineflayer').Bot, 'world' | '_client'> & {
    world: import('prismarine-world').world.WorldSync
    _client: Omit<import('minecraft-protocol').Client, 'on'> & {
        write: typeof import('./generatedClientPackets').clientWrite
        on: typeof import('./generatedServerPackets').clientOn
    }
}
declare const __type_bot: typeof bot
declare const viewer: import('prismarine-viewer/viewer/lib/viewer').Viewer
declare const worldView: import('prismarine-viewer/viewer/lib/worldDataEmitter').WorldDataEmitter | undefined
declare const localServer: import('flying-squid/dist/index').FullServer & { options } | undefined
/** all currently loaded mc data */
declare const mcData: Record<string, any>
declare const loadedData: import('minecraft-data').IndexedData
declare const customEvents: import('typed-emitter').default<{
    /** Singleplayer load requested */
    singleplayer (): void
    digStart ()
    gameLoaded (): void
    mineflayerBotCreated (): void
    search (q: string): void
}>
declare const beforeRenderFrame: Array<() => void>

declare interface Document {
    exitPointerLock?(): void
}

declare interface Window extends Record<string, any> { }
