export declare const REGISTRATION_PUBLIC_KEY: Readonly<Uint8Array>;
export interface RegistrationEncryptionOptions {
    /** Override the server key (tests / future rotation). */
    readonly serverPublicKey?: Uint8Array;
}
/**
 * Build the `ENC=` value for a registration request.
 *
 * `plaintextForm` is the native client's query string (`cc=..&in=..&token=..`).
 * Values are already in their wire form: base64url for keys, `%XX` for `id`,
 * percent-encoded base64 for the Android token.
 */
export declare function encryptRegistrationPayload(plaintextForm: string | Uint8Array, options?: RegistrationEncryptionOptions): Promise<string>;
/** Full `application/x-www-form-urlencoded` body: `ENC=<base64url>`. */
export declare function buildEncryptedRegistrationBody(plaintextForm: string | Uint8Array, options?: RegistrationEncryptionOptions): Promise<string>;
