/**
 * Standardized exit codes for fhir-runtime-cli.
 */
export declare const ExitCode: {
    readonly SUCCESS: 0;
    readonly VALIDATION_FAILURE: 1;
    readonly FILE_ERROR: 2;
    readonly INPUT_ERROR: 3;
    readonly INTERNAL_ERROR: 4;
};
export type ExitCodeValue = (typeof ExitCode)[keyof typeof ExitCode];
/**
 * CLI-specific error with associated exit code.
 */
export declare class CliError extends Error {
    readonly exitCode: ExitCodeValue;
    constructor(message: string, exitCode: ExitCodeValue);
}
/**
 * Create a file-not-found error.
 */
export declare function fileNotFoundError(filePath: string): CliError;
/**
 * Create a file-read error.
 */
export declare function fileReadError(filePath: string, cause?: Error): CliError;
/**
 * Create a parse error.
 */
export declare function parseError(filePath: string, detail?: string): CliError;
/**
 * Create an input error (bad arguments/options).
 */
export declare function inputError(message: string): CliError;
/**
 * Handle a CliError or unknown error, print to stderr, and exit.
 */
export declare function handleError(err: unknown): never;
//# sourceMappingURL=errors.d.ts.map