import type { TState } from "../types.js";
/**
 * Creates a reactive state container that can be subscribed to for changes
 *
 * @template T Type of the state data
 * @param data Initial value of the state
 * @returns A state object with methods to manage the state
 */
export declare const state: <T>(data: T) => TState<T>;
