export interface Config { authorization_endpoint: string; client_id: string; code_challenge_method: string; code_verifier_length: number; me: string; redirect_uri: string; scopes?: string[]; state: string; } /** * Builds the URL for the authorization endpoint. * * In the request to the authorization endpoint, the query parameter `scope` is * **optional**. If the IndieAuth client omits it, the authorization server MUST * NOT issue an access token in exchange of an authorization code, and should * instead return the profile URL. This means that the user will still be able * to authenticate using the request, but the IndieAuth client will not be * granted any scope (i.e. the user will not be authorized). * * @see [Authorization - IndieAuth spec](https://indieauth.spec.indieweb.org/#authorization) * @see [Authorization Request - IndieAuth spec](https://indieauth.spec.indieweb.org/#authorization-request) */ export declare const authorizationRequestUrl: (config: Config) => { redirect_url: string; code_verifier: string; state: string; }; //# sourceMappingURL=authorization-request-url.d.ts.map