/** * Error codes for categorizing different types of errors in the release tool. */ export type VrtErrorCode = 'VALIDATION_ERROR' | 'MARKDOWN_ERROR' | 'GIT_ERROR' | 'RELEASE_ERROR' | 'NOT_IMPLEMENTED'; /** * Custom error class for the VersaTiles Release Tool. * Provides consistent error handling with categorization via error codes. */ export declare class VrtError extends Error { readonly code: VrtErrorCode; constructor(message: string, code?: VrtErrorCode); } /** * Helper function to create a validation error. */ export declare function validationError(message: string): VrtError; /** * Helper function to create a markdown processing error. */ export declare function markdownError(message: string): VrtError; /** * Helper function to create a git operation error. */ export declare function gitError(message: string): VrtError; /** * Helper function to create a release process error. */ export declare function releaseError(message: string): VrtError; /** * Helper function to create a not implemented error. */ export declare function notImplementedError(feature: string): VrtError;