/** * Creates an `AbortSignal` tied to the component's Ore lifecycle. * * Call once at the top of a `setup()` function and pass the resulting signal * as the required `signal` option to any stateful core primitive * (`createTextField`, `createCheckable`, `createListboxDropdown`, etc.). * * When Ore disconnects the component, `onCleanup` fires, aborting the * signal and triggering cleanup in every primitive that received it. * * @example * ```ts * setup(props, { el }) { * const signal = lifecycleSignal(onCleanup); * const tf = createTextField({ ..., signal }); * } * ``` */ export declare const lifecycleSignal: (onCleanup: (fn: () => void) => void) => AbortSignal; //# sourceMappingURL=ore.d.ts.map