/**
 * @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 BrowserTypeTaskConfig = TaskConfig;
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 text: {
            readonly type: "string";
            readonly title: "Text";
            readonly description: "The text to type into the currently focused element";
        };
    };
    readonly required: readonly ["sessionId", "text"];
    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 BrowserTypeTaskInput = FromSchema<typeof inputSchema>;
export type BrowserTypeTaskOutput = FromSchema<typeof outputSchema>;
export declare class BrowserTypeTask extends Task<BrowserTypeTaskInput, BrowserTypeTaskOutput, BrowserTypeTaskConfig> {
    static readonly type = "BrowserTypeTask";
    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 text: {
                readonly type: "string";
                readonly title: "Text";
                readonly description: "The text to type into the currently focused element";
            };
        };
        readonly required: readonly ["sessionId", "text"];
        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: BrowserTypeTaskInput, _executeContext: IExecuteContext): Promise<BrowserTypeTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserTypeTask.d.ts.map