, any>>(request: T) => MultiPhaseRequest;
};
export declare function createMultiPhaseRequest
(): MultiPhaseRequest
>;
export declare function fetchJSON(url: string, params: object): Promise;
export declare type WithOptions = {
options: T;
};
export declare type OptionsAndExtra, O> = {
extra: Omit;
options: O;
};
export declare function parseAsCredentialCreationOptionsAndExtra>>(data: T): OptionsAndExtra;
export declare function parseAsCredentialRequestOptionsAndExtra>>(data: T): OptionsAndExtra;
export declare function decodeBuffer(value: string): ArrayBuffer;
export declare function encodeBuffer(buffer: ArrayBuffer): string;
export declare function decodeTXAuthGenericArg(tx: Encode): txAuthGenericArg;
export declare function decodeAuthenticationExtensions(ext: Encode): AuthenticationExtensionsClientInputs;
export declare function decodePublicKeyCredentialCreationOptions(pk: Encode): PublicKeyCredentialCreationOptions;
export declare function decodePublicKeyCredentialRequestOptions(pk: Encode): PublicKeyCredentialRequestOptions;
/** navigation.credentials.create(options) */
export declare function decodeCredentialCreationOptions(options: Encode): CredentialCreationOptions;
/** navigation.credentials.get(options) */
export declare function decodeCredentialRequestOptions(options: Encode): CredentialRequestOptions;
export declare function decodeAttestationResponsePayload(credential: Encode): PublicKeyCredentialWithAttestationResponse;
export declare function encodeAttestationResponsePayload(credential: PublicKeyCredentialWithAttestationResponse): Encode;
export declare function encodeAssertionResponsePlayload(credential: PublicKeyCredentialWithAssertionResponse): Encode;
export declare function decodeAssertionResponsePlayload(credential: Encode): PublicKeyCredentialWithAssertionResponse;
export {};