export declare function findFile(name: string | RegExp, path?: string): string | undefined; /** * Find files upward */ export declare function findUp(from?: string): Generator; export declare function toDataURI(path: string): Promise; /** * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_Types */ export declare function blobFrom(DataURI: string): Promise<{ MIME: string | undefined; extension: string; data: Buffer; }>;