/**
 * Env Command Handler
 *
 * Export environment variables for third-party tool integration.
 * Outputs shell-evaluable exports for OpenCode, Cursor, Continue, etc.
 */
type ShellType = 'bash' | 'fish' | 'powershell';
/** Auto-detect shell from environment */
export declare function detectShell(flag?: string): ShellType;
/** Format a single env var export for the target shell (single-quoted to prevent injection) */
export declare function formatExportLine(shell: ShellType, key: string, value: string): string;
/** Map Anthropic env vars to OpenAI-compatible format.
 * OPENAI_MODEL is included so tools that need it (e.g. OpenCode local provider)
 * can discover the model without additional configuration. */
export declare function transformToOpenAI(envVars: Record<string, string>): Record<string, string>;
/** Parse --key=value or --key value style args */
export declare function parseFlag(args: string[], flag: string): string | undefined;
/** Find the first positional argument, skipping flags and their values */
export declare function findProfile(args: string[], flagsWithValues: string[]): string | undefined;
/**
 * Handle env command
 * @param args - Command line arguments (after 'env')
 */
export declare function handleEnvCommand(args: string[]): Promise<void>;
export {};
//# sourceMappingURL=env-command.d.ts.map