/** * Checks whether a given path is a local (relative) link. * * A local link is considered valid if: * - It is not `null` or `undefined`. * - It does not start with a protocol (e.g., `http://`, `https://`, `ftp://`, etc.). * - It does not start with `//` (protocol-relative URL). * - It does not start with `mailto:`. * * @param path - The input string (or null/undefined). * @returns `true` if the path is a local link, otherwise `false`. * * @example * isLocalLink('/docs/guide'); // true * isLocalLink('about/team'); // true * isLocalLink('https://example.com') // false * isLocalLink('//cdn.example.com') // false * isLocalLink('mailto:test@test.com')// false */ export declare const isLocalLink: (path: string | null | undefined) => path is string; //# sourceMappingURL=is-local-link.d.ts.map