next-video
Version:
A React component for adding video to your Next.js application. It extends both the video element and your Next app with features for automatic video optimization.
11 lines (10 loc) • 348 B
TypeScript
import { Asset } from '../../assets.js';
export declare const config: {
runtime: string;
};
export type VercelBlobMetadata = {
url?: string;
contentType?: string;
};
export declare function uploadLocalFile(asset: Asset): Promise<Asset | undefined>;
export declare function uploadRequestedFile(asset: Asset): Promise<Asset | undefined>;