import { type IdentityAttestation, type IdentityClaims, type IdentityToken } from "../contracts/index.js"; export interface LocalIdentityAuthority { keyId: string; algorithm: "ed25519"; privateKeyPem: string; publicKeyPem: string; } export declare function createLocalIdentityAuthority(input?: { keyId?: string; }): LocalIdentityAuthority; export declare function issueIdentityToken(input: { authority: Pick; claims: IdentityClaims; }): IdentityToken; export declare function verifyIdentityToken(input: { token: IdentityToken; publicKeyPem: string; now?: string; }): IdentityAttestation; export declare function hasIdentityScope(token: IdentityToken, requiredScope: string): boolean;