/**
 * @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";
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 selector: {
            readonly type: "string";
            readonly title: "CSS Selector";
            readonly description: "The CSS selector to query for";
        };
    };
    readonly required: readonly ["sessionId", "selector"];
    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 refs: {
            readonly type: "array";
            readonly items: {
                readonly type: "string";
            };
            readonly title: "Element Refs";
            readonly description: "The element references matching the selector";
        };
    };
    readonly required: readonly ["sessionId", "refs"];
    readonly additionalProperties: false;
};
export type BrowserQuerySelectorTaskInput = FromSchema<typeof inputSchema>;
export type BrowserQuerySelectorTaskOutput = FromSchema<typeof outputSchema>;
export declare class BrowserQuerySelectorTask extends Task<BrowserQuerySelectorTaskInput, BrowserQuerySelectorTaskOutput, TaskConfig> {
    static readonly type = "BrowserQuerySelectorTask";
    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 selector: {
                readonly type: "string";
                readonly title: "CSS Selector";
                readonly description: "The CSS selector to query for";
            };
        };
        readonly required: readonly ["sessionId", "selector"];
        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 refs: {
                readonly type: "array";
                readonly items: {
                    readonly type: "string";
                };
                readonly title: "Element Refs";
                readonly description: "The element references matching the selector";
            };
        };
        readonly required: readonly ["sessionId", "refs"];
        readonly additionalProperties: false;
    };
    execute(input: BrowserQuerySelectorTaskInput, _executeContext: IExecuteContext): Promise<BrowserQuerySelectorTaskOutput>;
}
export {};
//# sourceMappingURL=BrowserQuerySelectorTask.d.ts.map