import { RuntimeConfig, StageConfig } from '../../utils/types';
/**
 * Base error class for all CLI errors
 */
export declare class RuntimeCliError extends Error {
    readonly code: string;
    readonly hint?: string | undefined;
    constructor(message: string, code: string, hint?: string | undefined);
}
/**
 * Error thrown when configuration is invalid or missing
 */
export declare class ConfigError extends RuntimeCliError {
    constructor(message: string, hint?: string);
}
/**
 * Error thrown when build operations fail
 */
export declare class BuildError extends RuntimeCliError {
    constructor(message: string, hint?: string);
}
/**
 * Error thrown when deployment operations fail
 */
export declare class DeploymentError extends RuntimeCliError {
    constructor(message: string, hint?: string);
}
/**
 * Error thrown when validation checks fail
 */
export declare class ValidationError extends RuntimeCliError {
    constructor(message: string, hint?: string);
}
/**
 * Friendly error for environment validation failures
 * Wraps Zod errors with human-readable formatting
 */
export declare class FriendlyEnvironmentError extends Error {
    readonly zodError: import('zod').ZodError;
    readonly friendlyMessage: string;
    private readonly verbose;
    constructor(zodError: import('zod').ZodError, verbose?: boolean);
}
/**
 * Get stage configuration by name
 */
export declare function getStage(config: RuntimeConfig, stageName: string): StageConfig;
