import { type OAuthIdentity, type OAuthOptions, type SecretStore } from "./auth.js"; /** Server scope names are data, not instructions. Keep their size and rendering bounded. */ export declare function parseScopes(value: string | undefined): string[] | undefined; export declare function authorizationOptions(identity: OAuthIdentity, store: SecretStore, options: OAuthOptions, required: string[]): { options: OAuthOptions; grantedScopesKnown: boolean; }; /** Scope names have already been reviewed; don't repeat an unbounded list in a loader. */ export declare function loginSummary(options: OAuthOptions, reviewed: boolean): string; export interface ScopeChallenge { scopes: string[]; identity: string; expires: number; }