import type { EntityConfiguration } from '../EntityConfiguration.ts'; import type { IEntityLoadKey, IEntityLoadValue } from './EntityLoadInterfaces.ts'; import { EntityLoadMethodType, LoadValueMap } from './EntityLoadInterfaces.ts'; /** * A load key that represents a single field (fieldName) on an entity. * * @internal */ export declare class SingleFieldHolder, TIDField extends keyof TFields, N extends keyof TFields> implements IEntityLoadKey, SingleFieldValueHolder> { readonly fieldName: N; constructor(fieldName: N); toString(): string; isCacheable(entityConfiguration: EntityConfiguration): boolean; getDatabaseColumns(entityConfiguration: EntityConfiguration): string[]; getDatabaseValues(value: SingleFieldValueHolder): readonly any[]; getLoadValueForObject(object: Readonly): SingleFieldValueHolder | null; createCacheKeyPartsForLoadValue(entityConfiguration: EntityConfiguration, value: SingleFieldValueHolder): readonly string[]; getLoadMethodType(): EntityLoadMethodType; getDataManagerDataLoaderKey(): string; serializeLoadValue(value: SingleFieldValueHolder): NonNullable; deserializeLoadValue(value: NonNullable): SingleFieldValueHolder; validateRuntimeLoadValuesForDataManagerDataLoader(values: readonly SingleFieldValueHolder[], entityClassName: string): void; vendNewLoadValueMap(): LoadValueMap, SingleFieldValueHolder, V>; } /** * A load value for a SingleFieldHolder. * * @internal */ export declare class SingleFieldValueHolder, N extends keyof TFields> implements IEntityLoadValue> { readonly fieldValue: NonNullable; constructor(fieldValue: NonNullable); toString(): string; serialize(): NonNullable; static deserialize, N extends keyof TFields>(fieldValue: NonNullable): SingleFieldValueHolder; } /** * @internal */ export declare class SingleFieldValueHolderMap, N extends keyof TFields, V> extends LoadValueMap, SingleFieldValueHolder, V> { protected deserializeKey(serializedKey: NonNullable): SingleFieldValueHolder; }