import { EntryMeta } from "@universal-deploy/store"; //#region src/index.d.ts interface GetVercelEntriesOptions { /** * Map entries to URL patterns * @example * // When dir: "endpoints/myapi" and destination: "api" * // endpoints/myapi/page.ts -> /api/page * // endpoints/myapi/name/[name].ts -> /api/name/* */ destination?: string; /** * If true, parse entries exports for per-file settings. * Entries can export `edge`, `isr`, `headers` and `streaming`. See README for more details * * @default true */ tryParseExports?: boolean; } /** * Scans the filesystem for entry points. * @beta */ declare function getVercelEntries(dir: string, { destination, tryParseExports }: GetVercelEntriesOptions): Promise; declare function extractExports(filepath: string): Promise<{ edge?: boolean | undefined; headers?: Record | undefined; streaming?: boolean | undefined; isr?: { expiration: number | false; } | undefined; } | null>; //#endregion export { GetVercelEntriesOptions, extractExports, getVercelEntries };