declare type CommandArg = string | [string, string] | [string, string, string];
export declare function formatTerraformArguments(args: CommandArg[]): string[];
/**
 * Checks if the environment is a GCP or AWS cloud function
 */
export declare const isCloudFunction: () => string | undefined;
export declare const logAndReturnError: (message: string) => Error;
export declare class MultiMessageError extends Error {
    messages: string[];
    constructor(messages: string[]);
}
export declare const BUCKET_NAME_REGEX: RegExp;
export declare const generateBucketName: () => string;
export declare enum FileSystemType {
    Directory = "Directory",
    File = "File"
}
export declare type FileSystemItem = Directory | File;
export declare type Directory = {
    type: FileSystemType.Directory;
    bucketKey: string;
    children: DirectoryStructure;
};
export declare type File = {
    type: FileSystemType.File;
    bucketKey: string;
};
export declare type DirectoryStructure = Record<string, FileSystemItem>;
export declare const translatePathsToDirectoryStructure: (paths: String[]) => DirectoryStructure;
export declare const getAddressDirectory: (directoryStructure: DirectoryStructure, airnodeAddress: string) => Directory | null;
export declare const getStageDirectory: (directoryStructure: DirectoryStructure, airnodeAddress: string, stage: string) => Directory | null;
export {};
//# sourceMappingURL=infrastructure.d.ts.map