@eko-ai/eko
Version:
Empowering language to transform human words into action.
22 lines • 633 B
TypeScript
export declare function extract_page_content(params?: {
root_selector?: string;
root_element?: HTMLElement;
max_url_length?: number;
max_content_length?: number;
min_image_area?: number;
ignored_tags?: string[];
key_attributes?: string[];
}): string;
export declare function mark_screenshot_highlight_elements(screenshot: {
imageBase64: string;
imageType: "image/jpeg" | "image/png";
}, area_map: Record<string, {
x: number;
y: number;
width: number;
height: number;
}>, client_rect: {
width: number;
height: number;
}): Promise<string>;
//# sourceMappingURL=utils.d.ts.map