import { default as React } from 'react';
/**
 * Converts heading text to a URL-safe ID for anchor links
 *
 * @param text - The text to convert to an ID
 * @returns A URL-safe ID string
 *
 * @example
 * ```ts
 * textToId("Hello World!") // "hello-world"
 * textToId("TypeScript & React") // "typescript-react"
 * ```
 */
export declare function textToId(text: string | string[]): string;
/**
 * Extracts text content from React children
 * Useful for generating IDs from heading elements
 *
 * @param children - React children to extract text from
 * @returns Extracted text as string
 */
export declare function extractTextFromChildren(children: React.ReactNode): string;
/**
 * Type guard to check if a value is a valid internal link relation
 */
export declare function isValidRelation(value: unknown): value is {
    slug: string;
};
//# sourceMappingURL=utils.d.ts.map