import type { OutputMode, ServerConfig } from '../lib/index.js';
import type { Tool, Resource, ResourceTemplate, Prompt, SessionData, ServerDetails } from '../lib/types.js';
export { extractSingleTextContent } from './tool-result.js';
export declare function rainbow(text: string): string;
export interface FormatOptions {
    full?: boolean;
}
export declare function formatOutput(data: unknown, mode?: OutputMode, options?: FormatOptions): string;
export declare function formatJson(data: unknown): string;
export declare function formatHuman(data: unknown, options?: FormatOptions): string;
export declare function formatSchemaType(schema: Record<string, unknown>): string;
export declare function formatSimplifiedArgs(schema: Record<string, unknown>, indent?: string): string[];
export declare function formatTools(tools: Tool[], options?: FormatOptions): string;
export declare function formatToolDetail(tool: Tool): string;
export declare function formatResources(resources: Resource[]): string;
export declare function formatResourceDetail(resource: Resource): string;
export declare function formatResourceTemplates(templates: ResourceTemplate[]): string;
export declare function formatResourceTemplateDetail(template: ResourceTemplate): string;
export declare function formatPrompts(prompts: Prompt[]): string;
export declare function formatPromptDetail(prompt: Prompt): string;
export declare function formatObject(obj: Record<string, unknown>): string;
export declare function formatSuccess(message: string): string;
export declare function formatError(message: string): string;
export declare function formatWarning(message: string): string;
export declare function formatInfo(message: string): string;
export declare function formatSessionLine(session: SessionData): string;
export interface LogTargetOptions {
    outputMode: OutputMode;
    hide?: boolean | undefined;
    profileName?: string | undefined;
    serverConfig?: ServerConfig | undefined;
    protocolVersion?: string | undefined;
}
export declare function logTarget(target: string, options: LogTargetOptions): Promise<void>;
export declare function formatJsonError(error: Error, code: number): string;
export declare function formatServerDetails(details: ServerDetails, target: string): string;
//# sourceMappingURL=output.d.ts.map