import { Observable } from 'rxjs'; import { Ref } from '../ref'; import { NgtComponentStore } from '../stores/component-store'; import type { NgtInstanceInternal, NgtState, NgtUnknownInstance, UnknownRecord } from '../types'; export declare function getInstanceInternal(obj: T | undefined): NgtInstanceInternal | undefined; export declare function prepare(instance: TInstance, root: () => NgtState, parentInstance?: Ref, previousInstance?: Ref, isPrimitive?: boolean): NgtUnknownInstance; export declare function optionsFieldsToOptions(instance: NgtComponentStore, fields: Record, keepPrevious?: boolean): Observable; export declare function checkUpdate(value: unknown): void;