import type { InternalOptions } from "../../types"; import type { Cookie } from "../cookie"; /** Returns nonce if the provider supports it */ export declare function createNonce(options: InternalOptions<"oauth">): Promise<{ cookie: Cookie; value: string; } | undefined>; /** * Returns nonce from if the provider supports nonces, * and clears the container cookie afterwards. */ export declare function useNonce(nonce: string | undefined, options: InternalOptions<"oauth">): Promise<{ value: string; cookie: Cookie; } | undefined>;