import { KsFileSaver } from '@knapsack/types';
export { isRemoteUrl } from '@knapsack/utils';
export declare function fileExistsOrExit(filePath: string, msg?: string): void;
/**
* Useful for taking code generated on the server and transpiling it to the client
* @example
* function run(name: string) {
* console.log(name);
* }
* const html = `
*
* `;
* const transpiled = babelCodeForBrowser({ code: html });
*/
export declare const babelCodeForBrowser: (opt: {
code: string;
minified?: boolean;
}) => Promise;
export declare const getIsSavingLocally: () => boolean;
export declare const saveFilesLocally: KsFileSaver;
//# sourceMappingURL=server-utils.d.ts.map