export declare class AttributeMap { protected attributeMap: { [key: string]: GLAttribute; }; constructor(); add(key: string, attribute: GLAttribute): void; remove(key: string): void; hasAttribute(key: string): boolean; getAttribute(key: string): GLAttribute; } export declare class GLAttribute { protected gl: WebGL2RenderingContext; type: string; size: number; location: number; constructor(gl: WebGL2RenderingContext, type: string, size: number, location: number); pointer(type: number, normalized: boolean, stride: number, start: number): void; } export declare function extract(gl: WebGL2RenderingContext, program: WebGLProgram): AttributeMap;