Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
555 B
Text
17 lines
555 B
Text
/// <reference types="node" />
|
|
/// <reference types="node" />
|
|
import { Readable } from 'stream';
|
|
import { Stats, createReadStream } from 'fs';
|
|
import { GetUriProtocol } from './';
|
|
type ReadStreamOptions = NonNullable<Exclude<Parameters<typeof createReadStream>[1], string>>;
|
|
interface FileReadable extends Readable {
|
|
stat?: Stats;
|
|
}
|
|
export interface FileOptions extends ReadStreamOptions {
|
|
cache?: FileReadable;
|
|
}
|
|
/**
|
|
* Returns a `fs.ReadStream` instance from a "file:" URI.
|
|
*/
|
|
export declare const file: GetUriProtocol<FileOptions>;
|
|
export {};
|