import { Specs } from '..';
import { TreeNode, TreeNodeType } from '../../spec/parser';
export declare function getValue<T>({ value }: {
    value: T;
}): T;
export declare function mapTree(values: string[]): TreeNode[];
export declare const MAP_TYPE_EXPRESSION_TO_LITERAL: {
    "array expression": TreeNodeType;
    "object expression": TreeNodeType;
};
export declare const randomLiteralType: () => TreeNodeType;
export declare const getTreeNodeTypeNameFallback: (tree_node_type: TreeNodeType) => "string" | "number" | "boolean" | "string{}" | "number[]";
export declare function randomValueOfObjectLiteral(specs: Specs, typeTree: TreeNode): string;
export declare function randomTreeOfObjectLiteral(specs: Specs, typeTree: TreeNode): TreeNode;
export declare function randomValueOfArrayLiteral(specs: Specs, tree_type: TreeNode): string;
export declare function randomTreeOfArrayLiteral(specs: Specs, tree_type: TreeNode): TreeNode;
export declare function randomValueOfTypeExpression(specs: Specs, typeTree: TreeNode, delimiter_open: string, delimiter_close: string): string;
export declare function randomTreeOfTypeExpression(specs: Specs, typeTree: TreeNode, delimiter_open: string, delimiter_close: string): TreeNode;
export declare function randomValueOfOr(specs: Specs, tree: TreeNode): string;
export declare function randomTreeOfOr(specs: Specs, tree: TreeNode): TreeNode;
export declare function randomValueOfAnd(typeTree: TreeNode): string;
export declare function randomTreeOfAnd(typeTree: TreeNode): TreeNode;
export declare function randomValueOfType(specs: Specs, typeTree: TreeNode): string;
export declare function randomTreeOfType(specs: Specs, typeTree: TreeNode): TreeNode;
export declare function randomTreeOfTypeLiteral(specs: Specs, type: TreeNodeType): TreeNode;
export declare function randomValueOfTypeLiteral(specs: Specs, typeTree: TreeNodeType): string;
