import { HttpProject } from '../HttpProject.js';
export declare const postmanVarRegex: RegExp;
/**
 * Replacer function for regex replace to be used to replace variables
 * notation to ARC's
 *
 * @param match
 * @param value
 * @return Value to be replaced in the string.
 */
export declare function variablesReplacerFunction(match: string, value: string): string;
/**
 * Parse input string as a payload param key or value.
 *
 * @param input An input to parse.
 * @return Trimmed string
 */
export declare function paramValue(input: string): string;
export declare const dataValue: unique symbol;
export type PostmanImportLogLevel = 'error' | 'warning' | 'info';
export interface PostmanImportLog {
    type: PostmanImportLogLevel;
    message: string;
}
/**
 * Base class for all Postman transformers
 */
export declare abstract class PostmanTransformer {
    [dataValue]: any;
    logs: PostmanImportLog[];
    /**
     * @param data Data to be transformed.
     */
    constructor(data: any);
    addLog(type: PostmanImportLogLevel, message: string): void;
    /**
     * Replaces any occurrence of {{STRING}} with ARC's variables syntax.
     *
     * @param str A string value to check for variables.
     * @return The same string with ARC's variables syntax
     */
    ensureVariablesSyntax(str?: string): string | undefined;
    ensureVarsRecursively(obj: any): any;
    /**
     * Transforms the data into ARC data model.
     * @returns Promise resolved when data are transformed.
     */
    abstract transform(): Promise<HttpProject | HttpProject[]>;
}
//# sourceMappingURL=PostmanTransformer.d.ts.map