import { i as OpenClawConfig } from "../types.openclaw-BC41dhLQ.js";
import { i as RuntimeProviderAuthLookup } from "../model-auth-Cap1KWOr.js";

//#region src/agents/model-provider-auth.d.ts
type ProviderAuthWarmSnapshot = {
  agents: Array<{
    agentId: string;
    configFingerprint: string;
    providers: Array<[string, boolean]>;
  }>;
};
declare function buildCurrentProviderAuthStateSnapshot(cfg: OpenClawConfig, options?: {
  isCancelled?: () => boolean;
  readOnlyAuthStore?: boolean;
  runtimeAuthLookups?: ReadonlyMap<string, RuntimeProviderAuthLookup>;
  omitFalseProviderAuth?: boolean;
}): Promise<ProviderAuthWarmSnapshot>;
//#endregion
//#region src/agents/model-provider-auth.worker.d.ts
type ProviderAuthWarmWorkerResult = {
  status: "ok";
  snapshot: Awaited<ReturnType<typeof buildCurrentProviderAuthStateSnapshot>>;
} | {
  status: "failed";
  error: string;
};
declare function runProviderAuthWarmWorkerInput(input: unknown): Promise<ProviderAuthWarmWorkerResult>;
//#endregion
export { runProviderAuthWarmWorkerInput };