import type { OAuthClientRegistration } from "./types.js"; export interface RegistrationParams { readonly registrationEndpoint: string; readonly redirectUris: readonly string[]; readonly clientName: string; readonly scope?: string | undefined; readonly deviceFlow?: boolean | undefined; } export interface RegistrationDeps { readonly fetchImpl?: typeof fetch | undefined; readonly validateUrl?: ((url: string) => URL) | undefined; } export declare function registerOAuthClient(params: RegistrationParams, deps?: RegistrationDeps): Promise;