/**
 * @param value - initial value to use, undefined if not provided.
 *
 * @returns - Object with a `value` property and `setState` method to set the
 *            `value`
 */
declare class SingleUseState<T> {
    value: T;
    constructor(value: T);
    setState(value: T): T;
}
export declare function useState<T>([initialValue]: [T]): SingleUseState<T>;
declare const _default: abstract new <T>() => import("@ember/component/helper").FunctionBasedHelperInstance<{
    Args: {
        Positional: [T];
        Named: import("@ember/component/helper").EmptyObject;
    };
    Return: SingleUseState<T>;
}>;
export default _default;
//# sourceMappingURL=use-state.d.ts.map