13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
type Params = {
|
|
req: Request;
|
|
};
|
|
export default function ({ req }: Params): Promise<Response>;
|
|
type FileResponse = {
|
|
file_path: string;
|
|
cache?: {
|
|
duration?: "infinite" | number;
|
|
};
|
|
};
|
|
export declare function readFileResponse({ file_path, cache }: FileResponse): Response;
|
|
export {};
|