/**
 * @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";
export type BrowserUploadTaskConfig = 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 ref: {
            readonly type: "string";
            readonly title: "Element Ref";
            readonly description: "The file input element reference to upload to";
        };
        readonly filePaths: {
            readonly type: "array";
            readonly items: {
                readonly type: "string";
            };
            readonly title: "File Paths";
            readonly description: "The local file paths to upload";
        };
    };
    readonly required: readonly ["sessionId", "ref", "filePaths"];
    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 BrowserUploadTaskInput = FromSchema<typeof inputSchema>;
export type BrowserUploadTaskOutput = FromSchema<typeof outputSchema>;
export declare class BrowserUploadTask extends Task<BrowserUploadTaskInput, BrowserUploadTaskOutput, BrowserUploadTaskConfig> {
    static readonly type = "BrowserUploadTask";
    static readonly category = "Browser";
    static title: string;
    static description: string;
    static readonly cacheable = false;
    static entitlements(): TaskEntitlements;
    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 file input element reference to upload to";
            };
            readonly filePaths: {
                readonly type: "array";
                readonly items: {
                    readonly type: "string";
                };
                readonly title: "File Paths";
                readonly description: "The local file paths to upload";
            };
        };
        readonly required: readonly ["sessionId", "ref", "filePaths"];
        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: BrowserUploadTaskInput, _executeContext: IExecuteContext): Promise<BrowserUploadTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserUploadTask.d.ts.map