/** @packageDocumentation
 * @module Rendering
 */
import { SortedArray } from "@itwin/core-bentley";
/** @internal */
export declare namespace ToleranceRatio {
    const vertex = 0.1;
    const facetArea = 0.1;
}
/** @internal */
export interface GeometryOptions {
    wantEdges: boolean;
    preserveOrder: boolean;
}
/** @internal */
export declare class Triangle {
    readonly indices: Uint32Array;
    readonly visible: boolean[];
    singleSided: boolean;
    constructor(singleSided?: boolean);
    setIndices(a: number, b: number, c: number): void;
    setEdgeVisibility(a: boolean, b: boolean, c: boolean): void;
    isEdgeVisible(index: number): boolean;
    get isDegenerate(): boolean;
}
/** @internal */
export declare class TriangleList {
    private readonly _flags;
    readonly indices: number[];
    get length(): number;
    get isEmpty(): boolean;
    addTriangle(triangle: Triangle): void;
    addFromTypedArray(indices: Uint8Array | Uint16Array | Uint32Array, flags?: number): void;
    getTriangle(index: number, out?: Triangle): Triangle;
}
/** @internal */
export declare class TriangleKey {
    private readonly _sortedIndices;
    constructor(triangle: Triangle);
    compare(rhs: TriangleKey): number;
}
/** @internal */
export declare class TriangleSet extends SortedArray<TriangleKey> {
    constructor();
    insertKey(triangle: Triangle, onInsert: (triangleKey: TriangleKey) => any): number;
}
//# sourceMappingURL=Primitives.d.ts.map