import type { PageSource } from "./types.js"; export type ResolvedPage = HTMLImageElement | HTMLCanvasElement; /** * Normalise a single page source into an element the `Runner` can use * as a `TextureSource`. Strings are loaded into a new `Image`; existing * image elements are awaited on; canvases pass through instantly. */ export declare function resolvePage(source: PageSource): Promise; export declare function resolveAll(sources: readonly PageSource[]): Promise; //# sourceMappingURL=loader.d.ts.map