import { r as DexConfig } from "../types.openclaw-Brl_kTLA.js";
import { i as RuntimeProviderAuthLookup } from "../model-auth-DQEvd0ph.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: DexConfig, 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 };