import { JsxElement, Node, SourceFile } from "typescript"; import { Dict } from "../utils"; export declare function throwAt(node: Node, sourceFile: SourceFile, msg: string): void; export declare function collectOptions(options: Dict, node: Node, sourceFile: SourceFile): {}; export declare function collectReactOptions(node: Node, sourceFile: SourceFile): string[]; export declare function collectReactVariables(node: JsxElement, sourceFile: SourceFile): string[] | null; export declare function collectReactDescription(node: Node, sourceFile: SourceFile): string; export declare function extractReactString(node: JsxElement, TSXCounter: { index: number; }, sourceFile: SourceFile): { text: string; isPlaintext: boolean; variables: never[]; parameters: never[]; }; export declare function assertVariablesMatchExpectedArguments(text: string, options: string[], node: Node, sourceFile: SourceFile): boolean; export declare function extractString(node: Node, sourceFile: SourceFile, preserveWhitespace?: boolean): { text: string; variables: string[]; }; export declare function expandStringWithInterpolationAndConcat(node: Node, sourceFile: SourceFile): { text: string; variables: string[]; }; export declare function expandMemberExpression(node: Node, sourceFile: SourceFile): string; export declare function markVariable(variable: string): string; export declare function expandStringConcat(node: Node, sourceFile: SourceFile): any; export declare function isReactTranslateCallExpression(node: Node): boolean; export declare function isTranslateCallExpression(node: Node): boolean; export declare function isPropsTranslateCallExpression(node: Node): boolean; export declare function containsOnlyPlaintext(node: Node): any; export declare function normalizeSpaces(value: string, options?: Dict): string; export declare function hardNormalizeSpaces(value: string, options?: Dict): string; export declare function normalizeRightSide(value: any, options?: Dict): string; export declare function normalizeLeftSide(value: any, options?: Dict): string; export declare function hardNormalizeRightSide(value: any, options?: Dict): string; export declare function hardNormalizeLeftSide(value: any, options?: Dict): string; export declare function stripWhitespace(value: string, options: WhitespaceOptions): string; declare type WhitespaceOptions = { first: boolean; last: boolean; jsxBefore: boolean; jsxAfter: boolean; }; export {};