/**
 * Custom error types for SEO CLI commands
 */
/**
 * Error thrown when required CLI parameters are missing
 */
export declare class MissingParameterError extends Error {
    readonly parameterName: string;
    readonly usage: string;
    readonly example: string;
    constructor(parameterName: string, usage: string, example: string);
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Error thrown when router configuration cannot be found
 */
export declare class RouterNotFoundError extends Error {
    readonly attemptedPaths: string[];
    readonly explicitPath?: string | undefined;
    constructor(attemptedPaths: string[], explicitPath?: string | undefined);
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Error thrown when file system operations fail
 */
export declare class FileSystemError extends Error {
    readonly operation: 'read' | 'write' | 'mkdir' | 'parse';
    readonly filePath: string;
    readonly originalError: Error;
    constructor(operation: 'read' | 'write' | 'mkdir' | 'parse', filePath: string, originalError: Error);
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Error thrown when DynamoDB operations fail
 */
export declare class DynamoDbError extends Error {
    readonly operation: 'connect' | 'upsert' | 'query';
    readonly route: string | null;
    readonly originalError: Error;
    constructor(operation: 'connect' | 'upsert' | 'query', route: string | null, originalError: Error);
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Error thrown when environment configuration cannot be resolved
 */
export declare class EnvironmentConfigError extends Error {
    readonly environment: string;
    readonly missingConfig: string[];
    readonly originalError?: Error | undefined;
    constructor(environment: string, missingConfig: string[], originalError?: Error | undefined);
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Error thrown when no SEO files are found
 */
export declare class NoSeoFilesError extends Error {
    readonly mode: 'simple' | 'hierarchical';
    constructor(mode: 'simple' | 'hierarchical');
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Error thrown when no routes are found in router configuration
 */
export declare class NoRoutesFoundError extends Error {
    readonly routerPath: string;
    constructor(routerPath: string);
    /**
     * Formats the error for display to the user
     */
    format(): string;
}
/**
 * Wraps errors with appropriate error types and formatting
 */
export declare class ErrorHandler {
    /**
     * Handles missing parameter errors
     */
    static missingParameter(parameterName: string, usage: string, example: string): MissingParameterError;
    /**
     * Handles router not found errors
     */
    static routerNotFound(attemptedPaths: string[], explicitPath?: string): RouterNotFoundError;
    /**
     * Handles file system errors
     */
    static fileSystem(operation: 'read' | 'write' | 'mkdir' | 'parse', filePath: string, originalError: Error): FileSystemError;
    /**
     * Handles DynamoDB errors
     */
    static dynamoDb(operation: 'connect' | 'upsert' | 'query', route: string | null, originalError: Error): DynamoDbError;
    /**
     * Handles environment configuration errors
     */
    static environmentConfig(environment: string, missingConfig: string[], originalError?: Error): EnvironmentConfigError;
    /**
     * Handles no SEO files found errors
     */
    static noSeoFiles(mode: 'simple' | 'hierarchical'): NoSeoFilesError;
    /**
     * Handles no routes found errors
     */
    static noRoutesFound(routerPath: string): NoRoutesFoundError;
    /**
     * Formats any error for display
     */
    static format(error: Error): string;
}
