/**
 * @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 texts: {
            readonly type: "array";
            readonly items: {
                readonly type: "string";
            };
            readonly title: "Texts";
            readonly description: "Array of strings to join";
        };
        readonly separator: {
            readonly type: "string";
            readonly title: "Separator";
            readonly description: "Separator between elements";
            readonly default: "";
        };
    };
    readonly required: readonly ["texts"];
    readonly additionalProperties: false;
};
declare const outputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly text: {
            readonly type: "string";
            readonly title: "Text";
            readonly description: "Joined string";
        };
    };
    readonly required: readonly ["text"];
    readonly additionalProperties: false;
};
export type StringJoinTaskInput = FromSchema<typeof inputSchema>;
export type StringJoinTaskOutput = FromSchema<typeof outputSchema>;
export declare class StringJoinTask<Input extends StringJoinTaskInput = StringJoinTaskInput, Output extends StringJoinTaskOutput = StringJoinTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
    static readonly type = "StringJoinTask";
    static readonly category = "String";
    static title: string;
    static description: string;
    static inputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly texts: {
                readonly type: "array";
                readonly items: {
                    readonly type: "string";
                };
                readonly title: "Texts";
                readonly description: "Array of strings to join";
            };
            readonly separator: {
                readonly type: "string";
                readonly title: "Separator";
                readonly description: "Separator between elements";
                readonly default: "";
            };
        };
        readonly required: readonly ["texts"];
        readonly additionalProperties: false;
    };
    static outputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly text: {
                readonly type: "string";
                readonly title: "Text";
                readonly description: "Joined string";
            };
        };
        readonly required: readonly ["text"];
        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 {
        stringJoin: CreateWorkflow<StringJoinTaskInput, StringJoinTaskOutput, TaskConfig>;
    }
}
export {};
//# sourceMappingURL=StringJoinTask.d.ts.map