import { Dispatch, SetStateAction } from "react";
export declare class SharedValue<T> {
    private state;
    constructor(state: [T, Dispatch<SetStateAction<T>>]);
    get(): T;
    set(value: T): void;
}
/**
 * Share a stateful value
 */
export declare function useSharedValue<T>(initialValue: T | (() => T)): SharedValue<T>;
//# sourceMappingURL=useSharedValue.d.ts.map