svelte-markdoc-preprocess
Version:
A Svelte preprocessor that allows you to use Markdoc.
11 lines • 765 B
TypeScript
export declare function get_all_files(path: string): string[];
export declare function read_file(...target: string[]): string;
export declare function write_to_file(file: string, content: string): void;
export declare function path_exists(path: string): boolean;
export declare function relative_posix_path(from: string, to: string): string;
export declare function is_external_url(url: string): boolean;
export declare function is_absolute_path(url: string): boolean;
export declare function is_relative_path(path: string): boolean;
export declare function parse_query_params_from_string(string: string): URLSearchParams;
export declare function replace_query_params_from_string(string: string, params: URLSearchParams): string;
//# sourceMappingURL=utils.d.ts.map