import { Node } from "@babel/core"; import { JSXElement } from "@babel/types"; import { Dict } from "../utils"; export declare function throwAt(astNode: any, msg: string): void; export declare function filterEmptyNodes(nodes: any[]): any[]; export declare function assertVariablesMatchExpectedArguments(text: string, options: string[], node: Node, sourceFile: string): boolean; export declare function isRequireAlias(path: any): boolean; export declare function collectOptions(options: Dict): {}; export declare function collectReactOptions(node: Node, sourceFile: string): string[]; export declare function collectReactVariables(node: JSXElement, sourceFile: string): string[] | null; export declare function collectReactDescription(node: Node, sourceFile: string): string; export declare function extractReactString(node: Node, JSXCounter: { index: number; }, sourceFile: string): { text: string; isPlaintext: boolean; variables: never[]; parameters: never[]; }; interface ExtractOptions { preserveWhitespace: boolean; } export declare function extractString(node: Node, sourceFile: string, extractOptions: ExtractOptions): { text: string; isPlaintext: boolean; variables: string[]; parameters: string[]; }; export declare function expandStringWithInterpolationAndConcat(node: Node, sourceFile: string): { text: string; isPlaintext: boolean; variables: string[]; parameters: string[]; }; export declare function expandMemberExpression(node: Node): string; export declare function markVariable(variable: string): string; export declare function expandStringConcat(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 const ValidTrOptions: { project: boolean; author: boolean; preserveWhitespace: boolean; subject: boolean; common: boolean; doNotExtract: boolean; }; export declare function stripWhitespace(value: string, options: WhitespaceOptions): string; declare type WhitespaceOptions = { first: boolean; last: boolean; jsxBefore: boolean; jsxAfter: boolean; }; export {};