mirror of
https://github.com/foomo/contentfultree.git
synced 2025-10-16 12:25:41 +00:00
5 lines
447 B
TypeScript
5 lines
447 B
TypeScript
import type { EntryProps, KeyValueMap } from 'contentful-management';
|
|
import type { ContentTreeNodeProps } from './ContentTreeNode';
|
|
export declare const emptyNodeProps: () => ContentTreeNodeProps;
|
|
export declare const cfEntriesToNodes: (entries: EntryProps<KeyValueMap>[], titleFields: string[], stLocale: string, locales: string[], nodeContentTypes: string[], iconRegistry?: Record<string, string>, parentId?: string) => ContentTreeNodeProps[];
|