import './ui-BfG6bZHf.js';

type OAuthAuthorizeParams = {
    client_id: string;
    redirect_uri: string;
    response_type: string;
    scopes: string[];
    code_challenge?: string;
    state?: string;
    nonce?: string;
    prompt?: string;
    resources?: string[];
};
type OAuthLogoutParams = {
    client_id: string;
    post_logout_redirect_uri: string;
    id_token_hint?: string;
    state?: string;
};
/**
 * Parse the OAuth Authorize params from the URL search parameters to pass in to subsequent OAuthAuthorize calls.
 *
 * @param params - The URL search parameters to parse.
 * @returns The parsed OAuth Authorize parameters.
 */
declare const parseOAuthAuthorizeParams: (params: URLSearchParams) => {
    error: string | null;
    result: OAuthAuthorizeParams;
};
declare const parseOAuthLogoutParams: (params: URLSearchParams) => {
    error: string | null;
    result: OAuthLogoutParams;
};

export { parseOAuthLogoutParams as b, parseOAuthAuthorizeParams as p };
export type { OAuthAuthorizeParams as O, OAuthLogoutParams as a };
