@npm9912/s-gml
Version:
TypeScript library for parsing, converting, and validating GML 2.1.2/3.0/3.2
15 lines (14 loc) • 592 B
TypeScript
/**
* Schema catalog - maps relative schema references to absolute URLs
* These are currently unused due to xmllint-wasm limitations with multiple schemas
* but kept for future improvements
*/
type XsdFetcher = (url: string) => Promise<string>;
export declare function validateGml(xml: string, version: string): Promise<boolean>;
export declare function __setXsdFetcher(fetcher: XsdFetcher | null): void;
export declare function __clearXsdCache(): void;
declare function loadXsd(url: string): Promise<string>;
export declare const __internal: {
loadXsd: typeof loadXsd;
};
export {};