/// <reference types="node" />
import { REPL } from '@kui-shell/core';
/**
 * Either fetch a remote file or read a local one
 *
 */
export declare function fetchFile(repl: REPL, url: string): Promise<(string | Buffer)[]>;
/** same as fetchFile, but returning a string rather than a Buffer */
export declare function fetchFileString(repl: REPL, url: string): Promise<string[]>;
export declare function fetchFileKustomize(repl: REPL, url: string): Promise<{
    data: string;
    dir?: string;
}>;
export default fetchFileString;
