/**
 * Manages agent output ID allocation to ensure uniqueness.
 *
 * The first allocation of a given name keeps the name as-is; subsequent
 * allocations of the same name get a `-2`, `-3`, … suffix. On resume, scans
 * existing output files so previously written outputs are never overwritten.
 */
export declare class AgentOutputManager {
    #private;
    constructor(getArtifactsDir: () => string | null, options?: {
        parentPrefix?: string;
    });
    /**
     * Allocate a unique ID.
     *
     * @param id Requested ID (e.g., "Anna")
     * @returns Unique ID ("Anna" first, then "Anna-2", "Anna-3", …)
     */
    allocate(id: string): Promise<string>;
}
