import { StringLiteral, BooleanLiteral, NumericLiteral, ObjectExpression, ArrayExpression, NullLiteral } from "@babel/types"; declare type Value = string | boolean | number; export declare type ArrayValue = Value[]; export declare type ObjectValue = { [field: string]: Value; }; declare type Res = StringLiteral | BooleanLiteral | NumericLiteral | ObjectExpression | ArrayExpression | NullLiteral; declare type CreateLiteral = (value: Value | ArrayValue | ObjectValue | ObjectValue[]) => Res; declare const createLiteral: CreateLiteral; export default createLiteral;