import { LifecycleAdapter } from "./LifecycleDelegate.ts"; /** * This symbol is used to attach the lifecycle to an object * that implements the `Lifecycle` interface. * * @remarks * * This symbol must be in the runtime-wide symbol registry * (`Symbol.for`) so that the reactive adapter can be * accessed from within different contexts. * * @internal scope: workspace */ export declare const __lifecycle: unique symbol; /** * An object with a `LifecycleAdapter`. */ export type Lifecycle = { [__lifecycle]: LifecycleAdapter; }; /** * Determines whether the input is a {@link Lifecycle}. */ export declare function isLifecycle(value: unknown): value is Lifecycle; /** * Assert that the object is a {@link Lifecycle}. */ export declare function assertLifecycle(value: unknown): asserts value is Lifecycle; /** * Applies the lifecycle mixin to a constructor. */ export declare function applyLifecycleMixin(Constructor: T, members?: (keyof LifecycleAdapter)[]): void; //# sourceMappingURL=Lifecycle.d.ts.map