@promptbook/legacy-documents
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
11 lines (10 loc) • 467 B
TypeScript
import type { string_url } from '../../types/string_url';
import type { $side_effect } from '../organization/$side_effect';
/**
* Download a File in a browser
*
* Note: `$` is used to indicate that this function is not a pure function - its purpose is to cause a side effect (download a file)
*
* @public exported from `@promptbook/browser`
*/
export declare function $induceFileDownload(fileOrBlobOrUrl: File | Blob | URL | string_url): Promise<$side_effect>;