import type { RawTocLabel, TextFilter, Toc } from './types';
export declare function isRelative(path: AnyPath): path is RelativePath;
export declare function isEntryItem(item: unknown): item is {
    href: string;
};
export declare function getFirstValuable<T>(items: TextFilter[] | string, vars: Hash, fallback?: T): T | undefined;
type TocLabelResult = NonNullable<Toc['label']>;
/**
 * Resolves label from all supported input formats to the TocLabel output format.
 * Supports: string, TextFilter[], RawTocLabel, RawTocLabel[]
 */
export declare function resolveLabel(value: string | TextFilter[] | RawTocLabel | RawTocLabel[], vars: Hash): TocLabelResult | undefined;
export {};
