export declare class ExtensionError extends Error {
    code: string;
    constructor(message: string, code: string);
}
export declare class ValidationError extends ExtensionError {
    constructor(message?: string);
}
export declare function handleError(error: unknown): ExtensionError;
