import * as THREE from "three";
import type { ModelLoadContext, ModelLoadFromBufferContext } from "./BaseModelLoader";
import { BaseModelLoader } from "./BaseModelLoader";
export declare class StlLoader extends BaseModelLoader {
    private readonly manager?;
    readonly id = "loader.builtin.stl";
    readonly priority = 0;
    readonly formats: readonly ["stl"];
    constructor(manager?: THREE.LoadingManager | undefined);
    load(ctx: ModelLoadContext): Promise<THREE.Object3D>;
    loadFromBuffer(ctx: ModelLoadFromBufferContext): Promise<THREE.Object3D>;
    private static toArrayBuffer;
    private applyRequestHeader;
    private meshFromGeometry;
}
