import { binding } from "../binding"; import type { Dictionary } from "../Dictionary"; import type { TypeHelpers } from "../TypeHelpers"; import type { Realm } from "../Realm"; /** @internal */ export type DictionaryAccessor = { get: (dictionary: binding.Dictionary, key: string) => T; set: (dictionary: binding.Dictionary, key: string, value: T) => void; }; type DictionaryAccessorFactoryOptions = { realm: Realm; typeHelpers: TypeHelpers; itemType: binding.PropertyType; isEmbedded?: boolean; }; /** @internal */ export declare function createDictionaryAccessor(options: DictionaryAccessorFactoryOptions): DictionaryAccessor; /** @internal */ export declare function insertIntoDictionaryOfMixed(dictionary: Dictionary | Record, internal: binding.Dictionary, toBinding: TypeHelpers["toBinding"]): void; /** @internal */ export declare function isJsOrRealmDictionary(value: unknown): value is Dictionary | Record; /** @internal */ export declare function isPOJO(value: unknown): value is Record; export {};