tanuki-ui
Version:
HTML-first React component library with semantic elements, multi-OS themes, and production-ready visual node editor
11 lines (10 loc) • 342 B
TypeScript
/**
* Hook for managing Object URLs lifecycle with automatic cleanup
* Provides efficient memory management for file previews
*/
export declare const useObjectURLs: () => {
createObjectURL: (file: File) => string;
revokeObjectURL: (url: string) => void;
revokeAllObjectURLs: () => void;
readonly activeURLCount: number;
};