/** * `login "api-key"` engine: open the provider's key page, prompt for a paste, * optionally validate the key against a declared probe, return the key. */ import type { CompiledApiKeyLogin } from "@oh-my-pi/pi-catalog/compat/types"; import type { OAuthController } from "../oauth/types.js"; /** Builds the login function for one `login "api-key"` rule; `label` is the provider display name. */ export declare function createApiKeyLogin(rule: CompiledApiKeyLogin, label: string): (options: OAuthController) => Promise;