import type { Fnode } from "@protontech/fathom"; import type { FieldType } from "@protontech/autofill/types"; export type HTMLFieldElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement; export declare const isInput: (el: HTMLElement) => el is HTMLInputElement; export declare const isInputField: (el: HTMLElement) => el is HTMLInputElement; export declare const isSelect: (el: HTMLElement) => el is HTMLSelectElement; export declare const isTextarea: (el: HTMLElement) => el is HTMLTextAreaElement; export declare const splitFieldsByVisibility: (els: HTMLElement[]) => [HTMLElement[], HTMLElement[]]; export declare const fType: (type: FieldType) => (fnode: Fnode) => boolean; export declare const fInput: (types: string[]) => (fnode: Fnode) => boolean; export declare const fMatch: (selector: string) => (fnode: Fnode) => boolean; export declare const fMode: (mode: string) => (fnode: Fnode) => boolean; export declare const fList: (fnode: Fnode) => boolean; export declare const isUsernameCandidate: (el: HTMLInputElement) => boolean; export declare const isEmailCandidate: (el: HTMLInputElement) => boolean; export declare const isOAuthCandidate: (el: HTMLElement) => boolean; export declare const isMFACandidate: (el: HTMLFieldElement) => boolean; export declare const isBtnCandidate: (btn: HTMLElement) => boolean; export declare const isProcessableField: (input: HTMLElement) => boolean; export declare const isClassifiableField: (fnode: Fnode) => boolean; export declare const selectInputCandidates: (target?: Document | HTMLElement) => HTMLInputElement[];