declare const EVENT_ACTION: { readonly TRANSMIT: "TRANSMIT"; readonly MAINTAIN: "MAINTAIN"; readonly DROP: "DROP"; }; declare const TIME_LIMIT: { readonly PERMANENT: -1; readonly MINUTES: number; readonly DAYS: number; }; declare class BlockError extends Error { timeLimit: number; action: string; constructor(message: string, timeLimit: string | number, action: string); } declare function init(_defaults?: unknown): Promise; declare function handleBlockError(error: BlockError): void; declare function storeEvents(): boolean; declare function streamEvents(): boolean; /** * Determines if a client should retry based on the `expiration` status. * This function: * 1. Returns `false` if the expiration is permanent. * 2. Waits for the expiration to pass, resets `storage` (for future * initializations), and then returns `true` to allow a retry. */ declare function retry(): Promise; export { BlockError, EVENT_ACTION, TIME_LIMIT, handleBlockError, init, retry, storeEvents, streamEvents };