import { type IndexType, type RenderBuffer, type RenderDevice } from "./RenderDevice";
export declare class IndexBuffer {
    readonly type: IndexType;
    readonly data: Uint16Array | Uint32Array;
    private gpuBuffer;
    private disposed;
    constructor(indices: readonly number[], vertexCount?: number);
    get count(): number;
    get byteLength(): number;
    get uploadedBuffer(): RenderBuffer | null;
    upload(device: RenderDevice): RenderBuffer;
    dispose(): void;
    private assertAlive;
}
//# sourceMappingURL=IndexBuffer.d.ts.map