import { EntryV0 } from "@peerbit/log"; import { NetworkDescriptorV2 } from "./v2.js"; export type AuthenticatedAuthorityEntryV0V2 = { descriptor: NetworkDescriptorV2; entryBytes: Uint8Array; entry: EntryV0; metaBytes: Uint8Array; payloadBytes: Uint8Array; reservedBytes: Uint8Array; hasHash: boolean; directParentCount: number; }; export type AuthorityEntryV0ProfileV2 = (entry: AuthenticatedAuthorityEntryV0V2) => void; export declare const captureAuthorityEntryV0BytesV2: (entryBytes: Uint8Array, maximumEntryBytes: number) => Uint8Array; /** * Authenticate one bounded raw EntryV0 authority envelope. This establishes * canonical bytes and the sole public authority signature only. It does not * establish a concrete record profile, policy acceptance, causal ancestry, * freshness, or durability. */ export declare const authenticateCapturedAuthorityEntryV0V2: (capturedEntryBytes: Uint8Array, descriptor: NetworkDescriptorV2, assertProfile?: AuthorityEntryV0ProfileV2) => Promise; export declare const authenticateAuthorityEntryV0V2: (entryBytes: Uint8Array, descriptor: NetworkDescriptorV2, maximumEntryBytes: number, assertProfile?: AuthorityEntryV0ProfileV2) => Promise; //# sourceMappingURL=v2-authority-entry.d.ts.map