/**
 * @license
 * Copyright 2025 Steven Roussey <sroussey@gmail.com>
 * SPDX-License-Identifier: Apache-2.0
 */
import { CreateWorkflow, IExecuteContext, Task, TaskConfig } from "@workglow/task-graph";
import { FromSchema } from "@workglow/util/schema";
declare const inputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly a: {
            readonly type: "number";
            readonly title: "A";
            readonly description: "First number";
        };
        readonly b: {
            readonly type: "number";
            readonly title: "B";
            readonly description: "Second number";
        };
    };
    readonly required: readonly ["a", "b"];
    readonly additionalProperties: false;
};
declare const outputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly result: {
            readonly type: "number";
            readonly title: "Result";
            readonly description: "Difference (a - b)";
        };
    };
    readonly required: readonly ["result"];
    readonly additionalProperties: false;
};
export type ScalarSubtractTaskInput = FromSchema<typeof inputSchema>;
export type ScalarSubtractTaskOutput = FromSchema<typeof outputSchema>;
export declare class ScalarSubtractTask<Input extends ScalarSubtractTaskInput = ScalarSubtractTaskInput, Output extends ScalarSubtractTaskOutput = ScalarSubtractTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
    static readonly type = "ScalarSubtractTask";
    static readonly category = "Math";
    static title: string;
    static description: string;
    static inputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly a: {
                readonly type: "number";
                readonly title: "A";
                readonly description: "First number";
            };
            readonly b: {
                readonly type: "number";
                readonly title: "B";
                readonly description: "Second number";
            };
        };
        readonly required: readonly ["a", "b"];
        readonly additionalProperties: false;
    };
    static outputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly result: {
                readonly type: "number";
                readonly title: "Result";
                readonly description: "Difference (a - b)";
            };
        };
        readonly required: readonly ["result"];
        readonly additionalProperties: false;
    };
    execute(input: Input, _context: IExecuteContext): Promise<Output>;
}
declare module "@workglow/task-graph" {
    interface Workflow {
        scalarSubtract: CreateWorkflow<ScalarSubtractTaskInput, ScalarSubtractTaskOutput, TaskConfig>;
    }
}
export {};
//# sourceMappingURL=ScalarSubtractTask.d.ts.map