declare const __LOG_LEVELS: {
    readonly debug: 0;
    readonly info: 1;
    readonly warn: 2;
    readonly error: 3;
    readonly none: 4;
};
declare let __logLevel: number;
declare function __formatMeta(meta: Record<string, unknown> | undefined): string;
declare function __log(level: number, event: string, meta?: Record<string, unknown>): void;
declare const logger: {
    debug: (event: string, meta?: Record<string, unknown>) => void;
    info: (event: string, meta?: Record<string, unknown>) => void;
    warn: (event: string, meta?: Record<string, unknown>) => void;
    error: (event: string, meta?: Record<string, unknown>) => void;
};
declare function getElementByRefId(refId: string | number): Element | null;
declare function findElementByLabel(query: string): Element | null;
declare function findCandidateLabels(query: string): string[];
declare function asRecord(obj: unknown): Record<string, unknown>;
declare function getStringParam(params: unknown, key: string): string;
declare function getNumberParam(params: unknown, key: string, fallback: number): number;
declare function getAccessibleRole(el: Element): string;
declare function getAccessibleName(el: Element): string;
declare function shouldInclude(el: Element): boolean;
interface SnapshotNode {
    refId: number;
    role: string;
    tag: string;
    name?: string;
}
interface SnapshotResult {
    text: string;
    nodes: SnapshotNode[];
    url: string;
    title: string;
    viewport: {
        width: number;
        height: number;
    };
}
declare function inlineSnapshot(maxNodes: number): SnapshotResult;
type Handler<T = unknown, R = unknown> = (params: T) => R | Promise<R>;
declare const handlers: Record<string, Handler>;
