mirror of
https://github.com/Shiva108/ai-llm-red-team-handbook.git
synced 2026-08-28 13:50:53 +02:00
13 lines
407 B
TypeScript
13 lines
407 B
TypeScript
import { DataURI } from "./types";
|
|
declare class DataURIParser {
|
|
fileName?: string;
|
|
mimetype?: string;
|
|
content?: string;
|
|
base64?: string;
|
|
encode(fileName: string, handler?: DataURI.Callback): Promise<string | undefined>;
|
|
format(fileName: string, fileContent: DataURI.Input): this;
|
|
getCSS(config?: DataURI.CSSConfig): string;
|
|
private createMetadata;
|
|
}
|
|
export = DataURIParser;
|