import { r as DexConfig } from "./types.openclaw-Brl_kTLA.js";
import { t as BaseProbeResult } from "./types.core-BnXayJIr.js";
//#region extensions/signal/src/client-adapter.d.ts
type SignalApiMode = "native" | "container" | "auto";
//#endregion
//#region extensions/signal/src/probe.d.ts
type SignalProbe = BaseProbeResult & {
  status?: number | null;
  elapsedMs: number;
  version?: string | null;
};
declare function probeSignal(baseUrl: string, timeoutMs: number, options?: {
  apiMode?: SignalApiMode;
}): Promise<SignalProbe>;
//#endregion
//#region extensions/signal/src/account-types.d.ts
type SignalAccountConfig = Omit<Exclude<NonNullable<DexConfig["channels"]>["signal"], undefined>, "accounts">;
//#endregion
//#region extensions/signal/src/accounts.d.ts
type ResolvedSignalAccount = {
  accountId: string;
  enabled: boolean;
  name?: string;
  baseUrl: string;
  configured: boolean;
  config: SignalAccountConfig;
};
declare const listSignalAccountIds: (cfg: DexConfig) => string[];
declare const resolveDefaultSignalAccountId: (cfg: DexConfig) => string;
declare function resolveSignalAccount(params: {
  cfg: DexConfig;
  accountId?: string | null;
}): ResolvedSignalAccount;
declare function listEnabledSignalAccounts(cfg: DexConfig): ResolvedSignalAccount[];
//#endregion
export { resolveSignalAccount as a, probeSignal as c, resolveDefaultSignalAccountId as i, listEnabledSignalAccounts as n, SignalAccountConfig as o, listSignalAccountIds as r, SignalProbe as s, ResolvedSignalAccount as t };