import type {ImmutableTree} from './types'; export type SpliceResult = { readonly tree: ImmutableTree; readonly deleted: ImmutableTree; }; export default function splice( tree: ImmutableTree, start: number, deleteCount: number, items: ImmutableTree ): SpliceResult;