import { binding } from "../binding"; import type { TypeHelpers } from "../TypeHelpers"; import type { Realm } from "../Realm"; import type { List } from "../List"; /** @internal */ export type ListAccessor = { get: (list: binding.List, index: number) => T; set: (list: binding.List, index: number, value: T) => void; insert: (list: binding.List, index: number, value: T) => void; }; type ListAccessorFactoryOptions = { realm: Realm; typeHelpers: TypeHelpers; itemType: binding.PropertyType; isEmbedded?: boolean; }; /** @internal */ export declare function createListAccessor(options: ListAccessorFactoryOptions): ListAccessor; /** @internal */ export declare function insertIntoListOfMixed(list: List | unknown[], internal: binding.List, toBinding: TypeHelpers["toBinding"]): void; /** @internal */ export declare function isJsOrRealmList(value: unknown): value is List | unknown[]; export {};