/** * @file * * Mock of Obsidian's `getLinkpath`. */ /** * Converts link text to a link path by dropping any `#heading` or `#^block` subpath. * * @param linktext - The text of a wikilink, without the surrounding `[[` and `]]`. * @returns The path of the linked file: everything before the first `#`. */ export declare function getLinkpath(linktext: string): string;