import type { FieldHook, TypeWithID } from 'payload'; import type { Messages } from './types'; /** * Populates the virtual `_intlMessages` field with scoped * translations from the messages collection after read. */ export declare const createPopulateScopedMessagesHook: ({ globalSlug, scope, }: { globalSlug: "messages"; scope: string; }) => FieldHook; /** * Extracts `_intlMessages` from the incoming data, * merges each locale's scoped key back into the messages * collection, and strips the virtual field before persistence. */ export declare const createExtractScopedMessagesHook: ({ globalSlug, scope, }: { globalSlug: "messages"; scope: string; }) => FieldHook; //# sourceMappingURL=hooks.d.ts.map