/**
 * SalesSdk 全局 Holder 字典同步桥（供 booking selectHolderModal 等非 Context 组件调用）。
 */
declare type UpsertHolderOptionsFn = (rawHolders: any[]) => void;
declare type ReloadHolderOptionsFn = () => void;
/**
 * 由 SalesSdkHolderProvider 挂载时注册。
 *
 * @example
 * const off = registerHolderOptionsSyncBridge({ upsertHolderOptions, reload });
 * return off;
 */
export declare function registerHolderOptionsSyncBridge(api: {
    upsertHolderOptions: UpsertHolderOptionsFn;
    reload: ReloadHolderOptionsFn;
}): () => void;
/**
 * 将原始 Holder 记录乐观写入购物车展示字典。
 *
 * @example
 * syncHolderOptionsFromRaw([{ form_record_id: 52981, main_field: 'Tom' }]);
 */
export declare function syncHolderOptionsFromRaw(rawHolders: any[]): void;
/**
 * 触发全局 Holder 字典重新拉取。
 *
 * @example
 * reloadGlobalHolderOptions();
 */
export declare function reloadGlobalHolderOptions(): void;
/**
 * 按 holder_id 从 pet.holders 中挑出对应记录并同步。
 *
 * @example
 * syncHolderOptionsByIds([52981], petHolders);
 */
export declare function syncHolderOptionsByIds(holderIds: Array<string | number>, rawHolders: any[] | undefined | null): void;
export {};
