import { InjectableStrategy } from "../../common/types/injectable-strategy"; export declare type PrimaryKeyType = T extends 'uuid' ? string : T extends 'increment' ? number : any; export interface EntityIdStrategy extends InjectableStrategy { readonly primaryKeyType: T; encodeId: (primaryKey: PrimaryKeyType) => string; decodeId: (id: string) => PrimaryKeyType; }