export { ChannelClosedError, ChannelOverflowError }; /** Thrown synchronously by `send()` when the channel is already closed. * Also used to reject pending ack promises when the channel shuts down. */ declare class ChannelClosedError extends Error { constructor(message?: string); } /** Used when a buffered channel send is dropped in order to keep memory usage hard-capped. */ declare class ChannelOverflowError extends Error { constructor(message?: string); }