import type { OAuthController, OAuthCredentials } from "./types.js"; /** `login "custom" hook="kiro-login"`: Identity Center / Builder ID / API key / Google / GitHub. */ export declare function loginKiroHook(ctrl: OAuthController): Promise; /** * `refresh hook="kiro-refresh"`. A row with an OIDC client refreshes against * `oidc.{kiroOidcRegion}`; one without is a social login refreshed by the Kiro * auth service, which may move it to another profile. Failures no retry can * repair fail `definitive`, so the row is disabled with a re-login hint. */ export declare function refreshKiroHook(current: OAuthCredentials, signal?: AbortSignal): Promise;