/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import { CreateWorkflow, IExecuteContext, IExecutePreviewContext, Task, TaskConfig } from "@workglow/task-graph";
import { FromSchema } from "@workglow/util/schema";
declare const inputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly value: {
            readonly title: "Value";
            readonly description: "Input object or array to query";
        };
        readonly path: {
            readonly type: "string";
            readonly title: "Path";
            readonly description: "Dot-notation path to extract (e.g. 'a.b.c', 'items.0.name', 'items.*.name')";
        };
    };
    readonly required: readonly ["value", "path"];
    readonly additionalProperties: false;
};
declare const outputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly result: {
            readonly title: "Result";
            readonly description: "Extracted value(s) from the path";
        };
    };
    readonly required: readonly ["result"];
    readonly additionalProperties: false;
};
export type JsonPathTaskInput = FromSchema<typeof inputSchema>;
export type JsonPathTaskOutput = FromSchema<typeof outputSchema>;
export declare class JsonPathTask<Input extends JsonPathTaskInput = JsonPathTaskInput, Output extends JsonPathTaskOutput = JsonPathTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
    static readonly type = "JsonPathTask";
    static readonly category = "Utility";
    static title: string;
    static description: string;
    static inputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly value: {
                readonly title: "Value";
                readonly description: "Input object or array to query";
            };
            readonly path: {
                readonly type: "string";
                readonly title: "Path";
                readonly description: "Dot-notation path to extract (e.g. 'a.b.c', 'items.0.name', 'items.*.name')";
            };
        };
        readonly required: readonly ["value", "path"];
        readonly additionalProperties: false;
    };
    static outputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly result: {
                readonly title: "Result";
                readonly description: "Extracted value(s) from the path";
            };
        };
        readonly required: readonly ["result"];
        readonly additionalProperties: false;
    };
    execute(input: Input, _context: IExecuteContext): Promise<Output | undefined>;
    executePreview(input: Input, _context: IExecutePreviewContext): Promise<Output | undefined>;
}
declare module "@workglow/task-graph" {
    interface Workflow {
        jsonPath: CreateWorkflow<JsonPathTaskInput, JsonPathTaskOutput, TaskConfig>;
    }
}
export {};
//# sourceMappingURL=JsonPathTask.d.ts.map