type Browser_auth_opts = { customer_id?: string; }; type Json_value = string | number | boolean | null | Json_value[] | { [key: string]: Json_value; }; type Json_object = { [key: string]: Json_value; }; type Authorize_url_opts = { redirect_uri: string; state: string; code_challenge: string; customer_id?: string; }; declare const build_authorize_url: (opts: Authorize_url_opts) => URL; declare const build_device_start_body: (customer_id: string | undefined) => Json_object; declare function loopback_flow(opts: Browser_auth_opts): Promise; declare function device_flow(opts: Browser_auth_opts): Promise; declare function github_flow(opts: Browser_auth_opts): Promise; export { loopback_flow, device_flow, github_flow, build_authorize_url, build_device_start_body }; //# sourceMappingURL=browser_auth.d.ts.map