export declare function parsePowerPreference(powerPreference: string): 1 | 2 | 0 | -1;
export declare function handleContextOptions(type: '2d' | 'webgl' | 'webgl2' | 'experimental-webgl' | 'experimental-webgl2', contextAttributes: any): any;
export declare function removeItemFromArray(array: any[], item: any): void;
