/** Generates a random URL-safe PKCE code verifier. Treat it as a temporary secret. */ export declare function generatePkceCodeVerifier(): string; /** * Creates a PKCE verifier and its SHA-256 challenge. * * Send `challenge` and `method` in the authorization request. Send `verifier` * only to the token endpoint. */ export declare class PKCE extends String { /** Creates a new random verifier. */ constructor(); /** Returns the PKCE code challenge. */ get challenge(): string; /** Returns the PKCE challenge method. */ get method(): string; /** Returns the PKCE code verifier. */ get verifier(): string; } //# sourceMappingURL=pkce.d.ts.map