import type { IGrid2D } from "@thi.ng/api";
import type { Shader2D } from "./api.js";
export declare const isInBounds2D: ({ size }: IGrid2D<any, any>, x: number, y: number) => boolean;
export declare const ensureShader2D: <T>(val: T | Shader2D<T>) => Shader2D<T>;
//# sourceMappingURL=checks.d.ts.map