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

//#region src/agents/model-provider-auth-state.d.ts
type ProviderAuthWarmSnapshot = {
  agents: Array<{
    agentId: string;
    configFingerprint: string;
    providers: Array<[string, boolean]>;
  }>;
};
//#endregion
//#region src/agents/model-provider-auth.d.ts
/** Builds a provider auth snapshot for every configured agent. */
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;
};
/** Validates worker input and returns a provider auth snapshot or a serializable failure. */
declare function runProviderAuthWarmWorkerInput(input: unknown): Promise<ProviderAuthWarmWorkerResult>;
//#endregion
export { runProviderAuthWarmWorkerInput };