/**
 * @module vim-loader
 */
import { SimpleInstanceSubmesh, Submesh } from './mesh';
export type WebglAttributeTarget = Submesh | SimpleInstanceSubmesh;
export declare class WebglAttribute<T> {
    readonly vertexAttribute: string;
    readonly instanceAttribute: string;
    readonly defaultValue: T;
    readonly toNumber: (value: T) => number;
    private _value;
    private _meshes;
    constructor(value: T, vertexAttribute: string, instanceAttribute: string, meshes: WebglAttributeTarget[] | undefined, toNumber: (value: T) => number);
    updateMeshes(meshes: WebglAttributeTarget[] | undefined): void;
    get value(): T;
    apply(value: T): boolean;
    private applyInstanced;
    private applyMerged;
}
