import { TreeNode } from 'primeng/api/treenode';
import { SimpleEntity, SimpleNamedEntity, SimpleParentEntity } from '../../common/models/simple-named-entity';
import { SmzTreeNode } from '../../modules/smz-trees/models/tree-node';
import { SmzTreeGroupData, SmzTreeGroupNodeConfig, SmzTreeNestedData } from '../../modules/smz-trees/models/tree-state';
import { FormGroupConfig } from '../smz-dialogs/dialog-input-conversion';
export declare function isEmpty(str: string): boolean;
export declare function fixDate(date: FormGroupConfig): Date;
export declare function groupTreeNode(items: any[], endNode: SmzTreeGroupNodeConfig, group: SmzTreeGroupData): SmzTreeNode<unknown>[];
export declare function createTreeFromNestedData<T = any>(data: T[], config: SmzTreeNestedData): SmzTreeNode<SimpleNamedEntity>[];
export declare function groupSimpleParentEntity<TInput extends {
    parentId: TResponse;
    data: SimpleEntity<TResponse>;
}, TResponse>(items: TInput[]): SimpleParentEntity<TResponse>[];
export declare function arrayToTreeNodeWithRoot(items: any[], endNode: SmzTreeGroupNodeConfig, rootName: string, overrides?: Partial<TreeNode<any>>): SmzTreeNode<unknown>[];
export declare function arrayToTreeNode(items: any[], endNode: SmzTreeGroupNodeConfig): SmzTreeNode<unknown>[];
