/** * Base error class for PC/SC errors */ export declare class PCSCError extends Error { readonly code: number; constructor(message: string, code: number); } /** * Error thrown when a card is removed during an operation */ export declare class CardRemovedError extends PCSCError { constructor(message?: string); } /** * Error thrown when an operation times out */ export declare class TimeoutError extends PCSCError { constructor(message?: string); } /** * Error thrown when no readers are available */ export declare class NoReadersError extends PCSCError { constructor(message?: string); } /** * Error thrown when PC/SC service is not running */ export declare class ServiceNotRunningError extends PCSCError { constructor(message?: string); } /** * Error thrown when there's a sharing violation */ export declare class SharingViolationError extends PCSCError { constructor(message?: string); } /** * Factory function to create the appropriate error class based on PC/SC error code */ export declare function createPCSCError(message: string, code: number): PCSCError; //# sourceMappingURL=errors.d.ts.map