import ts from "typescript"; export interface IFileCreateOptions { folder?: string; filename?: string; emit?: (str: string) => void; statements: ts.Statement[] | ts.NodeArray; } export interface IPrettierFileCreateOptions extends IFileCreateOptions { prettier?: boolean; } export declare const REACT: { NS: string; DomNS: string; PackageName: string; Props: string; State: string; Component: string; PureComponent: string; StatelessComponent: string; Fragment: string; Render: string; UseState: string; UseCallback: string; }; export interface IJsxAttrs { [key: string]: ts.Expression | string | number | boolean | null; } export declare const IMPORTS: { React: ts.ImportDeclaration; }; export declare const GenericGen: { StatelessComponent(props?: ts.TypeNode | undefined): ts.TypeReferenceNode; Component(props?: ts.TypeNode | undefined, state?: ts.TypeNode | undefined, ss?: ts.TypeNode | undefined): ts.ExpressionWithTypeArguments; PureComponent(props?: ts.TypeNode | undefined, state?: ts.TypeNode | undefined, ss?: ts.TypeNode | undefined): ts.ExpressionWithTypeArguments; }; export declare const TYPES: { Any: ts.KeywordTypeNode; StatelessComponent: ts.TypeReferenceNode; Component: ts.ExpressionWithTypeArguments; PureComponent: ts.ExpressionWithTypeArguments; }; export declare const THIS: { Props: ts.PropertyAccessExpression; State: ts.PropertyAccessExpression; }; export declare const DOMS: { Div: string; Span: string; Button: string; Br: string; }; export declare function createExportModifier(isExport?: boolean): ts.Token[]; export declare function createConstVariableStatement(name: string, isExport?: boolean, typeNode?: ts.TypeNode, initializer?: ts.Expression): ts.VariableStatement; export declare function createThisAccess(name: string): string | ts.JsxExpression; export declare function createPublicArrow(name: string, params: ts.ParameterDeclaration[], statements: ts.Statement[]): ts.PropertyDeclaration; export declare function createAnyParameter(name: string): ts.ParameterDeclaration; export declare function exists(arr: T[]): T[];