import { r as KlawConfig } from "./types.klaw-xKUw_Rz7.js"; import { r as ChannelAccountSnapshot } from "./types.core-BSyOg0vX.js"; //#region src/channels/plugins/account-helpers.d.ts declare function createAccountListHelpers(channelKey: string, options?: { normalizeAccountId?: (id: string) => string; allowUnlistedDefaultAccount?: boolean; implicitDefaultAccount?: { channelKeys?: readonly string[]; envVars?: readonly string[]; }; hasImplicitDefaultAccount?: (cfg: KlawConfig) => boolean; }): { listConfiguredAccountIds: (cfg: KlawConfig) => string[]; listAccountIds: (cfg: KlawConfig) => string[]; resolveDefaultAccountId: (cfg: KlawConfig) => string; }; declare function hasConfiguredAccountValue(value: unknown): boolean; declare function listCombinedAccountIds(params: { configuredAccountIds: Iterable; additionalAccountIds?: Iterable; implicitAccountId?: string | undefined; fallbackAccountIdWhenEmpty?: string | undefined; }): string[]; declare function resolveListedDefaultAccountId(params: { accountIds: readonly string[]; configuredDefaultAccountId?: string | undefined; allowUnlistedDefaultAccount?: boolean; ambiguousFallbackAccountId?: string | undefined; normalizeListedAccountId?: ((accountId: string) => string) | undefined; }): string; declare function mergeAccountConfig>(params: { channelConfig: TConfig | undefined; accountConfig: Partial | undefined; omitKeys?: string[]; nestedObjectKeys?: string[]; }): TConfig; declare function resolveMergedAccountConfig>(params: { channelConfig: TConfig | undefined; accounts: Record> | undefined; accountId: string; omitKeys?: string[]; normalizeAccountId?: (accountId: string) => string; nestedObjectKeys?: string[]; }): TConfig; type AccountSnapshotInput = { accountId?: string | null; enabled?: boolean | null; name?: string | null | undefined; }; declare function describeAccountSnapshot(params: { account: AccountSnapshotInput; configured?: boolean | undefined; extra?: Record | undefined; }): ChannelAccountSnapshot; declare function describeWebhookAccountSnapshot(params: { account: AccountSnapshotInput; configured?: boolean | undefined; mode?: string | undefined; extra?: Record | undefined; }): ChannelAccountSnapshot; //#endregion export { listCombinedAccountIds as a, resolveMergedAccountConfig as c, hasConfiguredAccountValue as i, describeAccountSnapshot as n, mergeAccountConfig as o, describeWebhookAccountSnapshot as r, resolveListedDefaultAccountId as s, createAccountListHelpers as t };