/**
 * @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 BrowserLoginTaskConfig = TaskConfig & {
    mode?: "manual" | "credential" | "ai";
    credentialName?: string;
};
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 url: {
            readonly type: "string";
            readonly format: "uri";
            readonly title: "URL";
            readonly description: "The login page URL to navigate to";
        };
    };
    readonly required: readonly ["sessionId", "url"];
    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 BrowserLoginTaskInput = FromSchema<typeof inputSchema>;
export type BrowserLoginTaskOutput = FromSchema<typeof outputSchema>;
export declare class BrowserLoginTask extends Task<BrowserLoginTaskInput, BrowserLoginTaskOutput, BrowserLoginTaskConfig> {
    static readonly type = "BrowserLoginTask";
    static readonly category = "Browser";
    static title: string;
    static description: string;
    static readonly cacheable = false;
    static hasDynamicEntitlements: boolean;
    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 url: {
                readonly type: "string";
                readonly format: "uri";
                readonly title: "URL";
                readonly description: "The login page URL to navigate to";
            };
        };
        readonly required: readonly ["sessionId", "url"];
        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;
    };
    static entitlements(): TaskEntitlements;
    entitlements(): TaskEntitlements;
    execute(input: BrowserLoginTaskInput, executeContext: IExecuteContext): Promise<BrowserLoginTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserLoginTask.d.ts.map