import { ExecutionParameters, ProgramId } from "dok-gl-actions";
export type GetUniformLocation = (name: string, id?: ProgramId) => WebGLUniformLocation | undefined;
export type GetAttributeLocation = (name: string, id?: ProgramId) => number;
export interface GlConfig {
    gl: WebGL2RenderingContext;
    getUniformLocation: GetUniformLocation;
    getAttributeLocation: GetAttributeLocation;
}
export interface GlController {
    gl?: WebGL2RenderingContext;
    executeScript?(name: string, parameters?: ExecutionParameters): Promise<() => void>;
}
