import type { Atom } from 'jotai/vanilla';
type ShouldRemove = (createdAt: number, param: Param) => boolean;
export interface AtomFamily {
(param: Param): AtomType;
remove(param: Param): void;
setShouldRemove(shouldRemove: ShouldRemove | null): void;
}
export declare function atomFamily>(initializeAtom: (param: Param) => AtomType, areEqual?: (a: Param, b: Param) => boolean): AtomFamily;
export {};