/**
 * @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 text: {
            readonly type: "string";
            readonly title: "Text";
            readonly description: "Input string to search in";
        };
        readonly search: {
            readonly type: "string";
            readonly title: "Search";
            readonly description: "Substring to search for";
        };
    };
    readonly required: readonly ["text", "search"];
    readonly additionalProperties: false;
};
declare const outputSchema: {
    readonly type: "object";
    readonly properties: {
        readonly included: {
            readonly type: "boolean";
            readonly title: "Included";
            readonly description: "Whether the string contains the search substring";
        };
    };
    readonly required: readonly ["included"];
    readonly additionalProperties: false;
};
export type StringIncludesTaskInput = FromSchema<typeof inputSchema>;
export type StringIncludesTaskOutput = FromSchema<typeof outputSchema>;
export declare class StringIncludesTask<Input extends StringIncludesTaskInput = StringIncludesTaskInput, Output extends StringIncludesTaskOutput = StringIncludesTaskOutput, Config extends TaskConfig = TaskConfig> extends Task<Input, Output, Config> {
    static readonly type = "StringIncludesTask";
    static readonly category = "String";
    static title: string;
    static description: string;
    static inputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly text: {
                readonly type: "string";
                readonly title: "Text";
                readonly description: "Input string to search in";
            };
            readonly search: {
                readonly type: "string";
                readonly title: "Search";
                readonly description: "Substring to search for";
            };
        };
        readonly required: readonly ["text", "search"];
        readonly additionalProperties: false;
    };
    static outputSchema(): {
        readonly type: "object";
        readonly properties: {
            readonly included: {
                readonly type: "boolean";
                readonly title: "Included";
                readonly description: "Whether the string contains the search substring";
            };
        };
        readonly required: readonly ["included"];
        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 {
        stringIncludes: CreateWorkflow<StringIncludesTaskInput, StringIncludesTaskOutput, TaskConfig>;
    }
}
export {};
//# sourceMappingURL=StringIncludesTask.d.ts.map