import { Tile } from './tile.matrix.set.js';
export declare const QuadKey: {
    Keys: string[];
    /**
     * Intersection of quad keys
     * @param qkA QuadKey A
     * @param qkB QuadKey B
     * @returns whether qkA intersects qkB
     */
    intersects(qkA: string, qkB: string): boolean;
    /**
     * Return the prefix that is common to two intersecting quad keys
     * @param qkA QuadKey A
     * @param qkB QuadKey B
     */
    commonPrefix(qkA: string, qkB: string): string;
    /**
     * Get the quadkey's children
     * @example
     * '3' -> ['30', '31', '32', '33']
     *
     * @param qk
     */
    children(qk: string): string[];
    /**
     * Get the parent quadkey for the quadkey
     *
     * @example
     * `31` -> `3`
     * @param qk
     */
    parent(qk: string): string;
    /**
     * Convert a quadkey to a XYZ Tile location
     * @param quadKey quadkey to convert
     */
    toTile(quadKey: string): Tile;
    /**
     * Convert a tile location to a quadkey
     * @param tile tile to covert
     */
    fromTile(tile: Tile): string;
    /**
     * Compare quadkeys such that using with sort will result in a list from Biggest coverage to smallest.
     * @param a
     * @param b
     * @retun < 0, = 0 or > 0
     */
    compareKeys(a: string, b: string): number;
};
