/**
 * @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";
export type BrowserFillTaskConfig = TaskConfig & {
    clearFirst?: boolean;
};
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 fill";
        };
        readonly label: {
            readonly type: "string";
            readonly title: "Label";
            readonly description: "The label text of the input to fill";
        };
        readonly value: {
            readonly type: "string";
            readonly title: "Value";
            readonly description: "The value to fill into the input";
        };
    };
    readonly required: readonly ["sessionId", "value"];
    readonly additionalProperties: false;
};
declare const outputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly sessionId: {
            readonly type: "string";
            readonly title: "Session ID";
            readonly description: "The browser session ID";
        };
    };
    readonly required: readonly ["sessionId"];
    readonly additionalProperties: false;
};
export type BrowserFillTaskInput = FromSchema<typeof inputSchema>;
export type BrowserFillTaskOutput = FromSchema<typeof outputSchema>;
export declare class BrowserFillTask extends Task<BrowserFillTaskInput, BrowserFillTaskOutput, BrowserFillTaskConfig> {
    static readonly type = "BrowserFillTask";
    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 fill";
            };
            readonly label: {
                readonly type: "string";
                readonly title: "Label";
                readonly description: "The label text of the input to fill";
            };
            readonly value: {
                readonly type: "string";
                readonly title: "Value";
                readonly description: "The value to fill into the input";
            };
        };
        readonly required: readonly ["sessionId", "value"];
        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 required: readonly ["sessionId"];
        readonly additionalProperties: false;
    };
    execute(input: BrowserFillTaskInput, _executeContext: IExecuteContext): Promise<BrowserFillTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserFillTask.d.ts.map