/** * @template [T = unknown] * @extends { ModelImpl } */ export class ModelWrapperImpl extends ModelImpl, boolean> | (T extends Ref ? T : import("../../reactivity/common.types").NormalizeRef, boolean>)> { /** * @this { ModelWrapperImpl } * @param { UnknownModel | ModelWrapperImpl } model * @param { ModelWrapperImplOptions } [options] */ constructor(this: ModelWrapperImpl, model: UnknownModel | ModelWrapperImpl, options?: ModelWrapperImplOptions); /** * @template { Function } F * @overload * @param { F } value * @param { unknown } [thisArg] * @param { unknown[] } [args] * @returns { ReturnType } */ update(value: F, thisArg?: unknown, args?: unknown[] | undefined): ReturnType; /** * @overload * @param { unknown } value * @returns { void } */ update(value: unknown): void; /** * @template { Function } F * @overload * @param { F } fn * @returns { F } */ updateDecorator(fn: F): F; /** * @template { boolean } [Immediate = false] * @overload * @param { ExternalModelUpdateCallback } callback * @param { Omit, 'deep'> & { onMounted?: boolean } } [options] * @returns { () => void } */ onExternalUpdate(callback: ExternalModelUpdateCallback, options?: (Omit, "deep"> & { onMounted?: boolean; }) | undefined): () => void; /** * @template { boolean } [Immediate = false] * @overload * @param { WatchCallback> } callback * @param { Omit, 'deep'> } [options] * @returns { () => void } */ onInternalUpdate(callback: WatchCallback>, options?: Omit, "deep"> | undefined): () => void; handleValidation(eager?: boolean): void; /** * @param { number } minWait * @param {{ eager?: boolean }} [options] * @returns { (eager?: boolean) => void } */ useDebouncedValidation(minWait: number, options?: { eager?: boolean; }): (eager?: boolean) => void; triggerIfShallow(): void; #private; } export type ModelWrapperImplOptions = { exposed?: Readonly> | undefined; elements?: Readonly> | undefined; maybeObject?: boolean | undefined; }; import type { Ref } from "vue"; import { ModelImpl } from "#composables/.private/ModelImpl"; import type { ExternalModelUpdateCallback } from "#composables"; import type { WatchOptions } from "vue"; import type { MaybeUndefined } from "#utilities"; import type { WatchCallback } from "vue"; import type { UnknownModel } from "#composables"; //# sourceMappingURL=ModelWrapperImpl.d.ts.map