/*! * Copyright (C) Microsoft Corporation. All rights reserved. */ import type { CsdlMetadata, CsdlOperation } from './DataverseTypes.js'; /** * Parses a Dataverse OData $metadata CSDL XML string, returning both the Action/Function * definitions and the registry of concrete entity types (see {@link CsdlMetadata}). * * Only top-level and tags are matched as operations — * and inside are excluded by name. Concrete entity types are * every whose `Abstract` attribute is not `"true"`; abstract base types and * non-entity types (, ) are intentionally omitted so callers can skip * metadata fetches that would otherwise 404. * * @param xml - The full XML string from the $metadata endpoint. * @param nameFilter - Optional case-insensitive substring filter on operation name. Only affects * `operations`; the entity-type registry always covers the whole document. */ export declare function parseCsdl(xml: string, nameFilter?: string): CsdlMetadata; /** * Parses a Dataverse OData $metadata CSDL XML string and returns all Action and Function * definitions. Thin wrapper over {@link parseCsdl} for callers that only need operations. * * @param xml - The full XML string from the $metadata endpoint. * @param nameFilter - Optional case-insensitive substring filter on operation name. */ export declare function parseCsdlMetadata(xml: string, nameFilter?: string): CsdlOperation[]; //# sourceMappingURL=CsdlMetadataParser.d.ts.map