/**
 * Shell detection for codex-auth use command.
 * Determines current shell to emit correct eval-safe export syntax.
 */
/// <reference types="node" />
/// <reference types="bun-types" />
export type Shell = 'bash' | 'zsh' | 'fish' | 'pwsh' | 'cmd';
/**
 * Detect current shell from environment.
 * On Windows: inspect explicit shell executable hints, else default to cmd.
 * On Unix: inspect $SHELL suffix.
 */
export declare function detectShell(env?: NodeJS.ProcessEnv, platform?: string, parentProcessName?: string): Shell;
/**
 * Format a single env var export statement for the target shell.
 * Used by use-command to emit eval-safe lines.
 */
export declare function formatExport(shell: Shell, key: string, value: string): string;
//# sourceMappingURL=shell-detect.d.ts.map