import { type BaseWorkflowContext, type FullToolInfo, type WorkflowFn } from '@polka-codes/core';
import type { CliToolRegistry } from '../workflow-tools';
import { type BaseWorkflowInput } from './workflow.utils';
export type JsonImagePart = {
    type: 'image';
    mediaType: string;
    image: string;
};
export type JsonFilePart = {
    type: 'file';
    mediaType: string;
    filename: string;
    data: string;
};
export type CodeWorkflowInput = {
    task: string;
    files?: (JsonFilePart | JsonImagePart)[];
    mode?: 'interactive' | 'noninteractive';
    customTools?: FullToolInfo[];
    additionalInstructions?: string;
};
export declare const codeWorkflow: WorkflowFn<CodeWorkflowInput & BaseWorkflowInput, {
    success: true;
    summaries: string[];
} | {
    success: false;
    reason: string;
    summaries: string[];
}, CliToolRegistry, BaseWorkflowContext<CliToolRegistry>>;
//# sourceMappingURL=code.workflow.d.ts.map