import { DeepReadonly, Like, ResultOrError, ValidateEntity } from '@budarin/validate.ts'; export interface StoreMethod { (obj: Like): DeepReadonly>; } export declare function createStoreMethod(validateFn: ValidateEntity, entityMethod: (entity: T) => DeepReadonly>): StoreMethod;