export interface TaskAttachment {
    placeholder: string;
    tempPath: string;
    fileName: string;
}
export interface PreparedTaskSpec {
    taskDir: string;
    taskDirRelative: string;
}
export interface PrepareTaskSpecOptions {
    sourceTaskDir?: string;
}
export declare function buildTaskOrderContent(taskContent: string, attachments?: readonly TaskAttachment[]): string;
export declare function promoteTaskAttachments(taskDir: string, attachments?: readonly TaskAttachment[]): void;
export declare function resolveUniqueTaskSpecSlug(cwd: string, taskContent: string): string;
export declare function cleanupPreparedTaskSpec(taskDir: string): void;
export declare function prepareTaskSpecDirectory(cwd: string, taskContent: string, attachments?: readonly TaskAttachment[], options?: PrepareTaskSpecOptions): PreparedTaskSpec;
export declare function copyTaskAttachmentsToRunContext(sourceTaskDir: string, runContextTaskDir: string): void;
//# sourceMappingURL=attachments.d.ts.map