function deleteFile<TName>(options): Promise<void>;Defined in: packages/ai/src/activities/files/index.ts:72
Delete a previously uploaded file. Accepts the handle itself (preferred — the provider-literal type rejects a foreign provider's handle at compile time) or its raw lifecycle id.
TName extends string
FilesAdapter<TName> & object
| string | FileHandle<NoInfer<TName>>
Promise<void>
if the provider's files adapter has no delete (e.g. fal storage).