/**
 * Ask Artifact Writer — Dual-Mode Output Persistence for `agentics ask`
 *
 * Persists multi-agent results from `agentics ask` as browsable artifacts.
 *
 * Two modes (auto-detected):
 *   Development mode:  Writes to ~/.agentics/runs/<trace-id>/
 *                      Prints clickable Codespace / file link
 *   Project mode:      Creates git branch agentics/<slug>-<YYYYMMDD>,
 *                      commits artifacts to .agentics/runs/<trace-id>/,
 *                      returns to original branch, prints GitHub URL
 *
 * All persistence is NON-FATAL — errors warn but never block result display.
 */
import type { RouteResult } from '../commands/agents.js';
export interface AskPersistInput {
    query: string;
    routeResult: RouteResult;
    traceId: string;
    timing: number;
}
export interface AskPersistOutput {
    runDir: string;
    filesWritten: string[];
    mode: 'development' | 'project';
    branch?: string;
    commitHash?: string;
    githubUrl?: string;
}
/**
 * Persist `agentics ask` results to disk.
 *
 * - Development mode: writes to ~/.agentics/runs/<traceId>/
 * - Project mode: creates branch, writes to .agentics/runs/<traceId>/ in repo, commits
 *
 * NON-FATAL: all errors are caught and logged as warnings. Returns null on failure.
 */
export declare function persistAskResults(input: AskPersistInput): AskPersistOutput | null;
/**
 * Print a clickable output link based on execution mode and environment.
 */
export declare function printOutputLink(output: AskPersistOutput): void;
//# sourceMappingURL=ask-artifact-writer.d.ts.map