import { type WorkflowFn } from '@polka-codes/core';
import { z } from 'zod';
import type { CliToolRegistry } from '../workflow-tools';
import type { BaseWorkflowInput } from './workflow.utils';
export type MetaWorkflowInput = {
    task: string;
    interactive?: boolean;
    jsonMode?: boolean;
    additionalTools?: {
        search?: unknown;
        mcpTools?: unknown[];
    };
};
declare const MetaOutputSchema: z.ZodObject<{
    workflow: z.ZodEnum<{
        task: "task";
        code: "code";
    }>;
    success: z.ZodBoolean;
    summary: z.ZodOptional<z.ZodString>;
    error: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type MetaWorkflowOutput = z.infer<typeof MetaOutputSchema>;
export declare const metaWorkflow: WorkflowFn<MetaWorkflowInput & BaseWorkflowInput, MetaWorkflowOutput, CliToolRegistry>;
export {};
//# sourceMappingURL=meta.workflow.d.ts.map