export declare const FEDERATION_ATTESTATION_SCHEMA_URL = "https://domain.com/schemas/attestation-v1.json";
export type AttestationPluginRef = {
    name: string;
    version: string;
    hash: string;
};
export type AttestationPayload = {
    schema: string;
    nodeId: string;
    handle: string;
    version: string;
    coreHash: string;
    plugins: AttestationPluginRef[];
    wallet: {
        chain: string;
        address: string;
    };
    issuedAt: string;
    expiresAt: string;
    challengeNonce?: string;
    signature: {
        type: "ed25519";
        publicKey: string;
        value: string;
    };
};
export type AttestationOptions = {
    handle: string;
    ttlMs?: number;
    schemaUrl?: string;
    walletChain?: string;
    walletAddress?: string;
    plugins?: AttestationPluginRef[];
    now?: Date;
    challengeNonce?: string;
};
export declare function buildAttestation(options: AttestationOptions): AttestationPayload;
