import type { ImageContent } from './ai/types.js';
import type { ShortyPhoneManager } from './remote-control/index.js';
import type { StartupXllStatus } from './startup/startup-xll.js';
/**
 * 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 isTruthyEnvFlag(value: string | undefined): boolean;
export declare function prepareInitialMessage(fileArgs: string[], messages: string[], autoResizeImages: boolean): Promise<{
    initialMessage?: string;
    initialImages?: ImageContent[];
}>;
export declare function handleConfigCommand(args: string[]): Promise<boolean>;
export declare function handleShortcutAuthCommand(args: string[]): Promise<boolean>;
export declare function handleXllStartupStatus(xllStatus: StartupXllStatus, devMode: boolean, startupWarnings: string[]): void;
export declare function validateAgentMode(agentMode: string | undefined): void;
export declare function runInteractiveShell(watch: string | undefined, mode: {
    requestRestart(): void;
    run(): Promise<void>;
    showInfo(message: string): void;
}, phoneManager: ShortyPhoneManager): Promise<void>;
//# sourceMappingURL=main-helpers.d.ts.map