import type { AgentSessionRuntimeDiagnostic } from "./core/agent-session-services.ts";
import type { SettingsManager } from "./core/settings-manager.ts";
/**
 * Read all content from piped stdin.
 * Returns undefined if stdin is a TTY (interactive terminal).
 */
export declare function readPipedStdin(): Promise<string | undefined>;
export declare function collectSettingsDiagnostics(settingsManager: SettingsManager, context: string): AgentSessionRuntimeDiagnostic[];
export declare function reportDiagnostics(diagnostics: readonly AgentSessionRuntimeDiagnostic[]): void;
export declare function isTruthyEnvFlag(value: string | undefined): boolean;
export declare function drainProcessStdio(): Promise<void>;
//# sourceMappingURL=main-stdio.d.ts.map