import { DictionaryContent, DictionaryContent as DictionaryContent$1 } from "@intlayer/editor"; import { ContentNode, Dictionary, LocalDictionaryId } from "@intlayer/types/dictionary"; import { KeyPath } from "@intlayer/types/keyPath"; //#region src/EditedContentContext.d.ts type EditedContentActionsContextType = { setEditedContentState: (editedContent: DictionaryContent$1) => void; setEditedDictionary: (dict: Dictionary) => void; setEditedContent: (localDictionaryId: LocalDictionaryId, newValue: Dictionary['content']) => void; addEditedContent: (localDictionaryId: LocalDictionaryId, newValue: ContentNode, keyPath?: KeyPath[], overwrite?: boolean) => void; renameEditedContent: (localDictionaryId: LocalDictionaryId, newKey: KeyPath['key'], keyPath?: KeyPath[]) => void; removeEditedContent: (localDictionaryId: LocalDictionaryId, keyPath: KeyPath[]) => void; restoreEditedContent: (localDictionaryId: LocalDictionaryId) => void; clearEditedDictionaryContent: (localDictionaryId: LocalDictionaryId) => void; clearEditedContent: () => void; getEditedContentValue: (localDictionaryIdOrKey: LocalDictionaryId | Dictionary['key'] | string, keyPath: KeyPath[]) => ContentNode | undefined; }; declare const useEditedContentActions: () => EditedContentActionsContextType; declare const useEditedContent: () => { setEditedContentState: (editedContent: DictionaryContent$1) => void; setEditedDictionary: (dict: Dictionary) => void; setEditedContent: (localDictionaryId: LocalDictionaryId, newValue: Dictionary["content"]) => void; addEditedContent: (localDictionaryId: LocalDictionaryId, newValue: ContentNode, keyPath?: KeyPath[], overwrite?: boolean) => void; renameEditedContent: (localDictionaryId: LocalDictionaryId, newKey: KeyPath["key"], keyPath?: KeyPath[]) => void; removeEditedContent: (localDictionaryId: LocalDictionaryId, keyPath: KeyPath[]) => void; restoreEditedContent: (localDictionaryId: LocalDictionaryId) => void; clearEditedDictionaryContent: (localDictionaryId: LocalDictionaryId) => void; clearEditedContent: () => void; getEditedContentValue: (localDictionaryIdOrKey: LocalDictionaryId | Dictionary["key"] | string, keyPath: KeyPath[]) => ContentNode | undefined; editedContent: DictionaryContent$1; }; declare const usePostEditedContentState: (onEventTriggered?: (data: S) => void) => void; declare const useGetEditedContentState: () => () => void; //#endregion export { type DictionaryContent, useEditedContent, useEditedContentActions, useGetEditedContentState, usePostEditedContentState }; //# sourceMappingURL=EditedContentContext.d.ts.map