import { Syntax } from "./types"; export declare function stripWhitespace(text: string): string; export declare function elementCodeContent(element: HTMLElement): string; /** * Fetches and deflates a .tar.gz file representing a base filesystem. * This is for languages that require specific files to already exist. * * Prefers .tar.gz files in ustar format. * * @param fsURL The URL of the filesystem to fetch */ export declare function fetchWASIFS(fsURL: string): Promise; export declare function isErrorObject(e: unknown): e is { type: string; message: string; }; export declare function makeRunnoError(e: unknown): { type: string; message: string; }; export declare function extractErrorMessage(e: unknown): string; export declare function assertUnreachable(_: never, message?: string): never; export declare function runtimeToSyntax(runtime: string | undefined | null): Syntax;