import ObjectPathKey from '@bast1oncz/objects/ObjectPathKey'; export declare type FieldReference = ObjectPathKey | string; export declare type FunctionalFieldReference = (translationIdentity: T) => FieldReference; export interface TranslationIdentity { locale: string; } export declare type TranslatableFieldReference = FunctionalFieldReference; export declare function isStaticFieldReference(value: unknown): value is FieldReference; export interface EntityFieldKeyDefinition { /** * - Used to access entity field value * - Used to update entity field locally */ sourceKey: FieldReference; /** * - Used to update entity field by graphql * - If not defined, sourceKey is considered updateKey */ updateKey?: FieldReference; /** * - Used to delete entity field by graphql * - If not defined, updateKey is considered deleteKey */ deleteKey?: FieldReference; } export declare function isEntityFieldKeyDefinition(value: any): value is EntityFieldKeyDefinition;