/**
 * Response formatters for different output contexts
 *
 * Transforms unified WorkflowResponse into format-specific outputs.
 */
import type { WorkflowResponse } from '../types.js';
/**
 * Format response for CLI output
 */
export interface CliOutputOptions {
    /** Output as JSON */
    json?: boolean;
    /** Include trace summary */
    includeTrace?: boolean;
    /** Color output */
    color?: boolean;
}
/**
 * Format response for CLI consumption
 */
export declare function formatCliResponse<T>(response: WorkflowResponse<T>, options?: CliOutputOptions): string;
/**
 * Format response for HTTP (returns object suitable for JSON response)
 */
export declare function formatHttpResponse<T>(response: WorkflowResponse<T>): {
    statusCode: number;
    body: Record<string, unknown>;
    headers: Record<string, string>;
};
/**
 * Format error for consistent error responses
 */
export declare function formatError(error: unknown, context?: {
    workflowId?: string;
    requestId?: string;
    production?: boolean;
}): {
    message: string;
    code: string;
    stack?: string;
};
//# sourceMappingURL=formatters.d.ts.map