import { State } from "../state.js"; //#region src/field/def.d.ts declare namespace def { /** * Property initializer, will run upon instance creation. * Optional returned callback will run when once upon first access. */ type Factory = (this: M, key: Extract, string>, thisArg: M, state: State.Values) => def.Config | (() => void) | void; interface Config extends State.Apply { destroy?: () => void; } } declare function def(arg1: def.Factory): T extends void ? unknown : T; //#endregion export { def }; //# sourceMappingURL=def.d.ts.map