/**
 * Print mode (single-shot): Send prompts, output result, exit.
 *
 * Used for:
 * - `pi -p "prompt"` - text output with tool call summaries and streamed text
 * - `pi --mode json "prompt"` - JSON event stream
 */
import type { ImageContent } from '../ai/types.js';
import type { PrintModeSessionClient } from './session-client.js';
/**
 * Options for print mode.
 */
export interface PrintModeOptions {
    /** Output mode: "text" for final response only, "json" for all events */
    mode: 'text' | 'json';
    /** Array of additional prompts to send after initialMessage */
    messages?: string[];
    /** First message to send (may contain @file content) */
    initialMessage?: string;
    /** Images to attach to the initial message */
    initialImages?: ImageContent[];
    /** Optional credit balance fetcher — checked once before sending any messages */
    fetchBalance?: () => Promise<{
        creditsRemaining: number;
        isUnlimited: boolean;
        hasTeamBilling: boolean;
    } | null>;
}
/**
 * Run in print (single-shot) mode.
 * Sends prompts to the agent and outputs the result.
 */
export declare function runPrintMode(session: PrintModeSessionClient, options: PrintModeOptions): Promise<void>;
//# sourceMappingURL=print-mode.d.ts.map