import * as protocol from '../../common/protocol.js';
/** Create an element with specified classes */
export declare function create(tag: string, className: string): JQuery<HTMLElement>;
/** Manage the DOM elements used by GlkOte */
export declare class DOM {
    context_element?: HTMLElement;
    errorcontent_id: string;
    errorpane_id: string;
    gameport_id: string;
    loadingpane_id: string;
    prefix: string;
    windowport_id: string;
    constructor(options: {
        context_element?: HTMLElement;
        errorcontent_id: string;
        errorpane_id: string;
        gameport_id: string;
        loadingpane_id: string;
        prefix: string;
        windowport_id: string;
    });
    /** Create an element, adding prefix to the ID */
    create(tag: string, id: string, props?: string | any): JQuery<HTMLElement>;
    gameport(): JQuery<HTMLElement>;
    /** Return a jQuery search for an element ID, using prefix and context_element */
    id(id: string): JQuery<HTMLElement>;
    windowport(): JQuery<HTMLElement>;
}
export type EventFunc = (event: Partial<protocol.Event>) => void;
/** Is any input element focused? */
export declare function is_input_focused(): boolean;
/** Try to detect iOS */
export declare const is_iOS: boolean;
