/// <reference types="node" />
/// <reference types="bun-types" />
export interface ResolvedProfile {
    name: string;
    dir: string;
    source: 'env' | 'default';
}
export declare class CodexAuthProfileResolutionError extends Error {
    constructor(message: string);
}
/** @param env - Process env map; defaults to process.env. Injectable for tests. */
export declare function resolveActiveProfile(env?: NodeJS.ProcessEnv): ResolvedProfile | null;
//# sourceMappingURL=resolve-active-profile.d.ts.map