import { type Attr, type Document, type Element } from '@nodecfdi/cfdi-core';
export default class CfdiXPath {
    private static readonly ALLOWED_NAMESPACES;
    private readonly _document;
    private readonly _namespaces?;
    constructor(document: Document, namespaces?: Record<string, string>);
    static createFromDocument(document: Document): CfdiXPath;
    queryElements<T extends Element>(xpathQuery: string): T[];
    queryAttributes<T extends Attr>(xpathQuery: string): T[];
    /**
     * Get all XMLSchema instance attributes schemaLocation
     *
     * @returns Attr[]
     */
    querySchemaLocations(): Attr[];
    private querySelect;
}
