/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import { IExecuteContext, Task, TaskConfig, TaskEntitlements } from "@workglow/task-graph";
import { DataPortSchema, FromSchema } from "@workglow/util/schema";
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 expression: {
            readonly type: "string";
            readonly title: "Expression";
            readonly description: "The JavaScript expression to evaluate in the page context";
        };
    };
    readonly required: readonly ["sessionId", "expression"];
    readonly additionalProperties: false;
};
export type BrowserEvaluateTaskInput = FromSchema<typeof inputSchema>;
export type BrowserEvaluateTaskOutput = {
    sessionId: string;
    result: unknown;
};
export declare class BrowserEvaluateTask extends Task<BrowserEvaluateTaskInput, BrowserEvaluateTaskOutput, TaskConfig> {
    static readonly type = "BrowserEvaluateTask";
    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 expression: {
                readonly type: "string";
                readonly title: "Expression";
                readonly description: "The JavaScript expression to evaluate in the page context";
            };
        };
        readonly required: readonly ["sessionId", "expression"];
        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 result: {
                readonly title: "Result";
                readonly description: "The result of the evaluated expression";
            };
        };
        readonly required: readonly ["sessionId"];
        readonly additionalProperties: false;
    };
    static entitlements(): TaskEntitlements;
    execute(input: BrowserEvaluateTaskInput, _executeContext: IExecuteContext): Promise<BrowserEvaluateTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserEvaluateTask.d.ts.map