import { type Reference, type ReferenceMapped } from "@knyt/artisan"; import type { ReactiveControllerHost } from "./ReactiveController.ts"; /** * Creates a readonly reactive state reference from a transformed value * based on the given dependency. When its value changes, * it requests an update on the given host. * * @alpha * * @deprecated Use `mapRef` instead. * This function is deprecated and will be removed in a future version. */ export declare function mapState(host: ReactiveControllerHost, options: ReferenceMapped.Options): Reference.SubscriberRetaining; export declare function mapState(host: ReactiveControllerHost, ...params: ReferenceMapped.Params): Reference.SubscriberRetaining; export declare function mapState(host: ReactiveControllerHost, ...params: ReferenceMapped.CurryParams): ReferenceMapped.CurriedFn; //# sourceMappingURL=mapState.d.ts.map