import { Color, IUniform, Material, MeshBasicMaterial, MeshBasicMaterialParameters, Shader, WebGLRenderer } from 'three';
import { UiObjectConfig } from 'uiconfig.js';
import { IMaterial, IMaterialEvent, IMaterialEventTypes, IMaterialGenerator, IMaterialParameters, IMaterialTemplate, IMaterialUserData } from '../IMaterial';
import { MaterialExtension } from '../../materials';
import { SerializationMetaType } from '../../utils';
import { ITexture } from '../ITexture';
import { IObject3D } from '../IObject';
export type UnlitMaterialEventTypes = IMaterialEventTypes | '';
export declare class UnlitMaterial extends MeshBasicMaterial<IMaterialEvent, UnlitMaterialEventTypes> implements IMaterial<IMaterialEvent, UnlitMaterialEventTypes> {
    ['constructor']: typeof UnlitMaterial;
    static readonly TypeSlug = "bmat";
    static readonly TYPE = "UnlitMaterial";
    assetType: "material";
    userData: IMaterialUserData;
    readonly isUnlitMaterial = true;
    readonly appliedMeshes: Set<IObject3D>;
    readonly setDirty: (this: IMaterial, options?: import("../IMaterial").IMaterialSetDirtyOptions) => void;
    dispose(): this;
    clone(): this;
    dispatchEvent(event: IMaterialEvent): void;
    generator?: IMaterialGenerator;
    envMap: ITexture | null;
    constructor({ customMaterialExtensions, ...parameters }?: MeshBasicMaterialParameters & IMaterialParameters);
    materialExtensions: MaterialExtension[];
    extraUniformsToUpload: Record<string, IUniform>;
    registerMaterialExtensions: (this: IMaterial, customMaterialExtensions: MaterialExtension[]) => void;
    unregisterMaterialExtensions: (this: IMaterial, customMaterialExtensions: MaterialExtension[]) => void;
    customProgramCacheKey(): string;
    onBeforeCompile(shader: Shader, renderer: WebGLRenderer): void;
    onBeforeRender: (renderer: WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, geometry: import("three").BufferGeometry, object: import("three").Object3D) => void;
    onAfterRender: (renderer: WebGLRenderer, scene: import("three").Scene, camera: import("three").Camera, geometry: import("three").BufferGeometry, object: import("three").Object3D) => void;
    /**
     * Sets the values of this material based on the values of the passed material or an object with material properties
     * The input is expected to be a valid material or a deserialized material parameters object(including the deserialized userdata)
     * @param parameters - material or material parameters object
     * @param allowInvalidType - if true, the type of the oldMaterial is not checked. Objects without type are always allowed.
     * @param clearCurrentUserData - if undefined, then depends on material.isMaterial. if true, the current userdata is cleared before setting the new values, because it can have data which wont be overwritten if not present in the new material.
     */
    setValues(parameters: Material | (MeshBasicMaterialParameters & {
        type?: string;
    }), allowInvalidType?: boolean, clearCurrentUserData?: boolean | undefined): this;
    copy(source: Material | any): this;
    /**
     * Serializes this material to JSON.
     * @param meta - metadata for serialization
     * @param _internal - Calls only super.toJSON, does internal three.js serialization and `@serialize` tags. Set it to true only if you know what you are doing. This is used in Serialization->serializer->material
     */
    toJSON(meta?: SerializationMetaType, _internal?: boolean): any;
    /**
     * Deserializes the material from JSON.
     * Textures should be loaded and in meta.textures before calling this method.
     * todo - needs to be tested
     * @param data
     * @param meta
     * @param _internal
     */
    fromJSON(data: any, meta?: SerializationMetaType, _internal?: boolean): this | null;
    uiConfig: UiObjectConfig;
    static readonly MaterialProperties: {
        color: Color;
        map: null;
        lightMap: null;
        lightMapIntensity: number;
        aoMap: null;
        aoMapIntensity: number;
        specularMap: null;
        alphaMap: null;
        envMap: null;
        combine: 0;
        envMapIntensity: number;
        reflectivity: number;
        refractionRatio: number;
        wireframe: boolean;
        wireframeLinewidth: number;
        wireframeLinecap: string;
        wireframeLinejoin: string;
        skinning: boolean;
        fog: boolean;
        flatShading: boolean;
        name: string;
        blending: 1;
        side: 0;
        vertexColors: boolean;
        opacity: number;
        transparent: boolean;
        blendSrc: 204;
        blendDst: 205;
        blendEquation: 100;
        blendSrcAlpha: null;
        blendDstAlpha: null;
        blendEquationAlpha: null;
        depthFunc: 3;
        depthTest: boolean;
        depthWrite: boolean;
        stencilWriteMask: number;
        stencilFunc: 519;
        stencilRef: number;
        stencilFuncMask: number;
        stencilFail: 7680;
        stencilZFail: 7680;
        stencilZPass: 7680;
        stencilWrite: boolean;
        clippingPlanes: null;
        clipIntersection: boolean;
        clipShadows: boolean;
        shadowSide: null;
        colorWrite: boolean;
        precision: null;
        polygonOffset: boolean;
        polygonOffsetFactor: number;
        polygonOffsetUnits: number;
        dithering: boolean;
        alphaToCoverage: boolean;
        premultipliedAlpha: boolean;
        forceSinglePass: boolean;
        visible: boolean;
        toneMapped: boolean;
        userData: {};
        alphaTest: number;
    };
    static MaterialTemplate: IMaterialTemplate<UnlitMaterial, Partial<typeof UnlitMaterial.MaterialProperties>>;
}
export declare class MeshBasicMaterial2 extends UnlitMaterial {
    constructor(parameters?: MeshBasicMaterialParameters);
}
//# sourceMappingURL=UnlitMaterial.d.ts.map