export { appendCdpPath, getHeadersWithAuth } from "./cdp.helpers.js";
export declare function normalizeCdpWsUrl(wsUrl: string, cdpUrl: string): string;
export declare function captureScreenshot(opts: {
    wsUrl: string;
    fullPage?: boolean;
    format?: "png" | "jpeg";
    quality?: number;
}): Promise<Buffer>;
export declare function createTargetViaCdp(opts: {
    cdpUrl: string;
    url: string;
}): Promise<{
    targetId: string;
}>;
export type AriaSnapshotNode = {
    ref: string;
    role: string;
    name: string;
    value?: string;
    description?: string;
    backendDOMNodeId?: number;
    depth: number;
};
export type RawAXNode = {
    nodeId?: string;
    role?: {
        value?: string;
    };
    name?: {
        value?: string;
    };
    value?: {
        value?: string;
    };
    description?: {
        value?: string;
    };
    childIds?: string[];
    backendDOMNodeId?: number;
};
export declare function formatAriaSnapshot(nodes: RawAXNode[], limit: number): AriaSnapshotNode[];
export declare function snapshotAria(opts: {
    wsUrl: string;
    limit?: number;
}): Promise<{
    nodes: AriaSnapshotNode[];
}>;
