/**
 * @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 BrowserPressKeyTaskConfig = TaskConfig & {
    modifiers?: Array<"Alt" | "Control" | "Meta" | "Shift">;
};
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 key: {
            readonly type: "string";
            readonly title: "Key";
            readonly description: "The key to press (e.g. Enter, Tab, ArrowDown)";
        };
    };
    readonly required: readonly ["sessionId", "key"];
    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 BrowserPressKeyTaskInput = FromSchema<typeof inputSchema>;
export type BrowserPressKeyTaskOutput = FromSchema<typeof outputSchema>;
export declare class BrowserPressKeyTask extends Task<BrowserPressKeyTaskInput, BrowserPressKeyTaskOutput, BrowserPressKeyTaskConfig> {
    static readonly type = "BrowserPressKeyTask";
    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 key: {
                readonly type: "string";
                readonly title: "Key";
                readonly description: "The key to press (e.g. Enter, Tab, ArrowDown)";
            };
        };
        readonly required: readonly ["sessionId", "key"];
        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;
    };
    private buildKeyChord;
    execute(input: BrowserPressKeyTaskInput, _executeContext: IExecuteContext): Promise<BrowserPressKeyTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserPressKeyTask.d.ts.map