import type { AgentMessage } from "@gajae-code/agent-core"; export declare const CONTRIBUTION_PREP_SCHEMA_VERSION = 1; export interface ContributionPrepArtifact { path: string; description: string; } export interface ContributionPrepManifest { schema_version: number; source_session_id: string; created_at: string; cwd: string; git_head: string | null; changed_files: string[]; artifacts: ContributionPrepArtifact[]; redactions: string[]; recommended_output: string[]; worker_prompt_path: string; } export interface ContributionPrepResult { manifestPath: string; workerPromptPath: string; artifactDir: string; changedFiles: string[]; spawned: boolean; } export interface ContributionPrepOptions { customInstructions?: string; spawnWorker?: boolean; artifactRoot?: string; now?: Date; spawn?: (args: string[], cwd: string, shell: boolean) => Promise; } export interface ContributionPrepContext { sessionId: string; cwd: string; sessionFile?: string; messages: AgentMessage[]; customInstructions?: string; now?: Date; } interface RedactionState { labels: Set; } export declare function redactContributionPrepText(text: string, cwd: string, state?: RedactionState): string; export declare function buildContributionPrepWorkerPrompt(manifestPath: string): string; export declare function prepareContributionPrep(context: ContributionPrepContext, options?: ContributionPrepOptions): Promise; export {};