export declare class Auth47Error extends Error {
    constructor(message: string);
}
export declare function createCallbackUri(callbackUri: string | URL): string;
export type GenerateURIArgs = {
    nonce: string;
    resource?: string | undefined;
    expires?: number | Date | undefined;
};
export declare function validateGenerateUriArgs(args: GenerateURIArgs): asserts args is GenerateURIArgs;
export declare function validateChallenge(challenge: unknown): void;
type BaseProof = {
    auth47_response: '1.0';
    challenge: string;
    signature: string;
};
type NymProof = BaseProof & {
    nym: string;
};
type AddressProof = BaseProof & {
    address: string;
};
export type Proof = NymProof | AddressProof;
export declare function validateProof(proof: unknown): asserts proof is Proof;
export {};
//# sourceMappingURL=decoders.d.ts.map