/**
 * @author Thomas Barnekow
 * @license MIT
 */
import { XName } from './internal.js';
/**
 * Represents XML namespaces.
 */
export declare class XNamespace {
    readonly namespaceName: string;
    private static readonly _none;
    private static readonly _xml;
    private static readonly _xmlns;
    private static readonly namespaces;
    private readonly names;
    private constructor();
    /**
     * Gets the empty namespace.
     */
    static get none(): XNamespace;
    /**
     * Gets the namespace for the `xml` prefix.
     */
    static get xml(): XNamespace;
    /**
     * Gets the namespace for the `xmlns` prefix.
     */
    static get xmlns(): XNamespace;
    /**
     * Gets the `XNamespace` for the given namespace name.
     *
     * @param namespaceName The namespace name, e.g., 'http://schemas.openxmlformats.org/wordprocessingml/2006/main'.
     * @returns The `XNamespace`.
     */
    static get(namespaceName: string): XNamespace;
    /**
     * Gets the `XName` for the given local name, e.g., `body`, `id`.
     *
     * @param localName The local name, e.g., `body`.
     */
    getName(localName: string): XName;
    /**
     * Gets the string representation of this `XNamespace`.
     *
     * @returns The string representation of this `XNamespace`.
     */
    toString(): string;
}
