export { NetworkError }; /** Network failure: the connection to the server couldn't be established or was lost. * Thrown for regular telefunction calls — as the `ConnectionError` subclass, with `isChannel: false` * — and for channels, with `isChannel: true`: TTL expired, client failed to reconnect, WebSocket * connection rejected, reconnect timeout exceeded, or channel not re-acknowledged after reconnect. * * Catch it with a single `instanceof NetworkError` and read `isChannel` to tell the two apart. */ declare class NetworkError extends Error { /** `true` if the failure happened on a channel connection, `false` for a regular telefunction call. */ readonly isChannel: boolean; constructor(message: string, isChannel: boolean); }