/**
 * @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";
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 ref: {
            readonly type: "string";
            readonly title: "Element Ref";
            readonly description: "The element reference to get the attribute from";
        };
        readonly attribute: {
            readonly type: "string";
            readonly title: "Attribute Name";
            readonly description: "The name of the attribute to retrieve";
        };
    };
    readonly required: readonly ["sessionId", "ref", "attribute"];
    readonly additionalProperties: false;
};
export type BrowserAttributeTaskInput = FromSchema<typeof inputSchema>;
export type BrowserAttributeTaskOutput = {
    sessionId: string;
    value: string | null;
};
export declare class BrowserAttributeTask extends Task<BrowserAttributeTaskInput, BrowserAttributeTaskOutput, TaskConfig> {
    static readonly type = "BrowserAttributeTask";
    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 ref: {
                readonly type: "string";
                readonly title: "Element Ref";
                readonly description: "The element reference to get the attribute from";
            };
            readonly attribute: {
                readonly type: "string";
                readonly title: "Attribute Name";
                readonly description: "The name of the attribute to retrieve";
            };
        };
        readonly required: readonly ["sessionId", "ref", "attribute"];
        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 value: {
                readonly type: readonly ["string", "null"];
                readonly title: "Value";
                readonly description: "The attribute value, or null if not present";
            };
        };
        readonly required: readonly ["sessionId", "value"];
        readonly additionalProperties: false;
    };
    execute(input: BrowserAttributeTaskInput, _executeContext: IExecuteContext): Promise<BrowserAttributeTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserAttributeTask.d.ts.map