import { OgcApiDocument, OgcApiDocumentLink } from './model.js'; export declare function fetchDocument(url: string): Promise; export declare function fetchRoot(url: string): Promise; export declare function fetchCollectionRoot(url: string): Promise; export declare function getLinks(doc: OgcApiDocument, relType: string | string[], mimeType?: string): OgcApiDocumentLink[]; export declare function getLinkUrl(doc: OgcApiDocument, relType: string | string[], baseUrl?: string, mimeType?: string): string | null; export declare function fetchLink(doc: OgcApiDocument, relType: string | string[], baseUrl?: string): Promise; export declare function hasLinks(doc: OgcApiDocument, relType: string | string[]): boolean; export declare function assertHasLinks(doc: OgcApiDocument, relType: string | string[]): void; export declare function getParentPath(url: string): string | null; //# sourceMappingURL=link-utils.d.ts.map