9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
|
/**
|
||
|
* Creates a data URI from a string of data.
|
||
|
*
|
||
|
* @param data The data to convert to a data URI.
|
||
|
* @param mime The MIME type of the data.
|
||
|
* @returns The data URI.
|
||
|
*/
|
||
|
export declare const dataUri: (data: string, mime: string) => string;
|