export declare type IframeOptions = { name?: string; src?: string; style?: string; onload?: (event: HTMLIFrameElement) => void; hidden?: boolean; }; export declare function createAndInjectIframe(document: Document, options?: IframeOptions, targetSelector?: string): Promise; export declare type FormOptions = { target?: '_self' | string; action?: string; method?: 'get' | 'post'; hidden?: boolean; }; export declare function createForm(document: Document, options: FormOptions): HTMLFormElement; export declare function createAndInjectForm(document: Document, options: FormOptions, targetSelector?: string): HTMLFormElement; export declare function injectHtmlElement(document: Document, element: HTMLElement, targetSelector?: string): void; export declare function fillForm(document: Document, form: HTMLElement, data: { [key: string]: number | string | boolean; }): void; export declare type PopupOptions = { location?: string; name?: string; features?: string; onload?: (popup: Window) => void; }; export declare function createAndOpenPopup(window: Window, options?: PopupOptions): Window; export declare function findElement(selector: string): HTMLElement;