/** * Helpers for the `` content component. Kept in a sibling `.ts` (like * `diff.ts`/`github-info.ts`) so the id parsing and embed-URL building are pure, * unit-testable functions — the `.astro` file stays a thin presentational shell. */ /** * Resolve a YouTube video id from either a bare id or a full URL. Returns `null` * when nothing that looks like an id can be found, so the component can render * nothing rather than a broken embed. */ export declare const parseYouTubeId: (input: string) => string | null; /** * Build a privacy-enhanced (`youtube-nocookie.com`) embed URL, optionally * starting at `start` seconds. */ export declare const youtubeEmbedUrl: (id: string, options?: { start?: number; }) => string;