import type { ContentProvider } from '../content/content-provider.js'; import type { BundledDefinition } from '../plugins/openapi-docs/load-definition.js'; export declare function getDataFromRelativePath(relativePath: string): { pathVersion: string | null; basePath: string; }; export declare function generatePagePathname(currentVersion?: string | null, defaultVersion?: string | null, ...combineParts: string[]): string; export declare function fromCurrentDir(moduleUrl: string, path: string): string; export declare function excludeVersion(arg: T): { version?: string; data: T; }; export declare function loadDefinitions(contentProvider: ContentProvider, contentDir: string): Promise; /** * Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar * * @param path * @return slashed path */ export declare function slash(path: string): string; export declare function isSubdirOrSame(parent: string, child: string): boolean; export declare function isPathIgnored(relativePath: string, patterns?: string[]): boolean; //# sourceMappingURL=paths.d.ts.map