import type { Node } from 'ricos-schema'; import type { NonTextualNode, NonTextualTranslatable } from '../types'; /** * Typesafe-way to create a translatable object which points to a string field located * within a Node of plugin. The translatable object contains, among others, the value (text) * of the field, ready to be translated. * @param node Plugin's Node * @param fields Path from root starting at the node level, to the string field * @returns Translatable ready for translation */ export declare const fieldsToTranslatables: , K3 extends keyof NonNullable[K2]>, K4 extends keyof NonNullable[K2]>[K3]>, K5 extends keyof NonNullable[K2]>[K3]>[K4]>>(node: NonTextualNode, fields: [K1] | [K1, K2] | [K1, K2, K3] | [K1, K2, K3, K4] | [K1, K2, K3, K4, K5]) => NonTextualTranslatable[]; //# sourceMappingURL=fieldsToTranslatables.d.ts.map