import type { OpenClawConfig } from "../config/config.js";
import type { LinqAccountConfig } from "./types.js";
export type ResolvedLinqAccount = {
    accountId: string;
    enabled: boolean;
    name?: string;
    token: string;
    tokenSource: "config" | "env" | "file" | "none";
    fromPhone?: string;
    config: LinqAccountConfig;
};
export declare function listLinqAccountIds(cfg: OpenClawConfig): string[];
export declare function resolveDefaultLinqAccountId(cfg: OpenClawConfig): string;
export declare function resolveLinqAccount(params: {
    cfg: OpenClawConfig;
    accountId?: string | null;
}): ResolvedLinqAccount;
