export interface CliEnvironmentInit {
    cwd: string;
    homeDir: string;
    platform?: NodeJS.Platform;
    variables?: Record<string, string | undefined>;
}
export interface CliEnvironment {
    readonly cwd: string;
    readonly homeDir: string;
    readonly platform: NodeJS.Platform;
    readonly configPath: string;
    readonly servicesConfigPath: string;
    readonly projectConfigPath: string;
    readonly logDir: string;
    readonly poeApiBaseUrl: string;
    readonly poeBaseUrl: string;
    readonly variables: Record<string, string | undefined>;
    resolveHomePath: (...segments: string[]) => string;
    getVariable: (name: string) => string | undefined;
}
export declare function createCliEnvironment(init: CliEnvironmentInit): CliEnvironment;
export declare function resolveLogDir(homeDir: string): string;
export declare function resolveSpawnLogDir(homeDir: string): string;
export declare function resolvePoeApiBaseUrl(variables?: Record<string, string | undefined>): string;
