import { InjectionToken, type WritableSignal } from '@angular/core'; import type { ConnectionId } from '../lib/connection_id.ts'; import type { Identity } from '../lib/identity.ts'; import type { DbConnectionImpl } from '../sdk/db_connection_impl.ts'; export interface ConnectionState { isActive: boolean; identity?: Identity; token?: string; connectionId: ConnectionId; connectionError?: Error; getConnection>(): DbConnection | null; } export declare const SPACETIMEDB_CONNECTION: InjectionToken>; //# sourceMappingURL=connection_state.d.ts.map