import type { PlatformProvider } from "./core/platform.js"; /** * Base class providing resource loading and platform-agnostic functionality. * Platform-specific behavior is delegated to the injected PlatformProvider. */ export declare class Base { /** Name of the class for logging purposes */ protected className: string; /** Platform provider for cross-platform operations */ protected platform: PlatformProvider; constructor(platform?: PlatformProvider); /** * Loads a resource from various sources * @param source - ArrayBuffer, file path, URL, or undefined to use defaultUrl * @param defaultUrl - Default URL to use if source is undefined * @returns ArrayBuffer containing the resource data */ loadResource(source: string | ArrayBuffer | undefined, defaultUrl: string): Promise; /** * Logs a message using the logger utility * @param methodName - Name of the method * @param message - Log message */ protected log(methodName: string, message: string): void; }