/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import { IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
import type { AccessibilityTree } from "../IBrowserContext";
declare const inputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly sessionId: {
            readonly type: "string";
            readonly title: "Session ID";
            readonly description: "The browser session to use";
        };
    };
    readonly required: readonly ["sessionId"];
    readonly additionalProperties: false;
};
export type BrowserSnapshotTaskInput = FromSchema<typeof inputSchema>;
export type BrowserSnapshotTaskOutput = {
    sessionId: string;
    tree: AccessibilityTree;
};
export declare class BrowserSnapshotTask extends Task<BrowserSnapshotTaskInput, BrowserSnapshotTaskOutput, TaskConfig> {
    static readonly type = "BrowserSnapshotTask";
    static readonly category = "Browser";
    static title: string;
    static description: string;
    static readonly cacheable = false;
    static configSchema(): DataPortSchema;
    static inputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly sessionId: {
                readonly type: "string";
                readonly title: "Session ID";
                readonly description: "The browser session to use";
            };
        };
        readonly required: readonly ["sessionId"];
        readonly additionalProperties: false;
    };
    static outputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly sessionId: {
                readonly type: "string";
                readonly title: "Session ID";
                readonly description: "The browser session ID";
            };
            readonly tree: {
                readonly type: "object";
                readonly title: "Accessibility Tree";
                readonly description: "The accessibility tree of the current page";
                readonly additionalProperties: true;
            };
        };
        readonly required: readonly ["sessionId", "tree"];
        readonly additionalProperties: false;
    };
    execute(input: BrowserSnapshotTaskInput, _executeContext: IExecuteContext): Promise<BrowserSnapshotTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserSnapshotTask.d.ts.map