import type { AstroTypedLinks } from "./index.js"; type Prettify = { [K in keyof T]: T[K]; } & {}; type Opts = Prettify<([T] extends [never] ? { params?: never; } : { params: T; }) & { searchParams?: Record | URLSearchParams; hash?: string; }>; /** * Get type-safe links to your Astro routes. */ export declare const link: (path: TPath, ...[opts]: AstroTypedLinks[TPath] extends never ? [opts?: Opts] : [opts: Opts]) => string; export {};