import type { KaijiBotConfig } from "../../config/config.js";
export declare function setAccountEnabledInConfigSection(params: {
    cfg: KaijiBotConfig;
    sectionKey: string;
    accountId: string;
    enabled: boolean;
    allowTopLevel?: boolean;
}): KaijiBotConfig;
export declare function deleteAccountFromConfigSection(params: {
    cfg: KaijiBotConfig;
    sectionKey: string;
    accountId: string;
    clearBaseFields?: string[];
}): KaijiBotConfig;
export declare function clearAccountEntryFields<TAccountEntry extends object>(params: {
    accounts?: Record<string, TAccountEntry>;
    accountId: string;
    fields: string[];
    isValueSet?: (value: unknown) => boolean;
    markClearedOnFieldPresence?: boolean;
}): {
    nextAccounts?: Record<string, TAccountEntry>;
    changed: boolean;
    cleared: boolean;
};
