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