import type { ContextWithState } from '../../Types';
type PrimitiveAtomData<T> = {
    value: T;
};
export type PrimitiveAtom<T> = ReturnType<typeof createPrimitiveAtom<T>>;
export declare function createPrimitiveAtom<T>(context: ContextWithState, defaultValue: T): import("./Types").StateAtom<PrimitiveAtomData<T>, {
    setValue: (data: PrimitiveAtomData<T>, value: T) => boolean;
}>;
export {};
