import type { AssetHandle } from "./AssetHandle";
import type { AssetManager } from "./AssetManager";
export interface LoadContextOptions {
    readonly baseUrl?: string;
    readonly signal?: AbortSignal;
    readonly dependencyChain?: readonly string[];
    readonly manager?: AssetManager;
}
export declare class LoadContext {
    readonly baseUrl: string;
    readonly signal?: AbortSignal;
    readonly dependencyChain: readonly string[];
    private readonly manager?;
    constructor(options?: LoadContextOptions);
    resolve(url: string): string;
    throwIfAborted(url: string): void;
    child(url: string): LoadContext;
    loadDependency<T = unknown>(url: string, type?: string): Promise<AssetHandle<T>>;
}
//# sourceMappingURL=LoadContext.d.ts.map