import { PeerSession } from '@bsv/sdk'; /** * Durable representation of a BRC-103 peer session. * * The session nonce is the authoritative key. `lastUpdate` also acts as the * optimistic-write version so a delayed request from one replica cannot * overwrite newer authentication state written by another replica. */ export interface TableAuthSession { sessionNonce: string; peerNonce?: string | null; peerIdentityKey?: string | null; isAuthenticated: boolean | number; lastUpdate: number | string; certificatesRequired?: boolean | number | null; certificatesValidated?: boolean | number | null; expiresAt: number | string; } export declare function tableAuthSessionToPeerSession(row: TableAuthSession): PeerSession; //# sourceMappingURL=TableAuthSession.d.ts.map