import type { OutputAsset } from 'rollup';
import type { createEmptyMetrics } from './metrics.js';
import { processCachedTask } from '../../shared/cache.js';
export interface ProcessHtmlBundleEntryOptions {
    cache: Parameters<typeof processCachedTask<string>>[0]['cache'];
    context: {
        ensureRuntimeClassSet: (force?: boolean) => Promise<Set<string>>;
    };
    debug: (message: string, ...args: unknown[]) => void;
    dynamicRetryCandidates: Set<string>;
    file: string;
    metrics: ReturnType<typeof createEmptyMetrics>;
    onUpdate: (file: string, oldVal: string, newVal: string) => void;
    originalEntrySource: string;
    originalSource: OutputAsset;
    rememberProcessCacheKey: (cacheKey: string, hashKey?: string | number) => void;
    resolveCurrentSourceCandidateSource: (file: string) => string | undefined;
    tasks: Promise<void>[];
    templateHandler: (source: string, options: {
        runtimeSet: Set<string>;
    }) => string | Promise<string>;
    timeTask: (name: string, task: () => Promise<void>) => Promise<void>;
    transformRuntime: Set<string>;
    transformRuntimeSignature: string;
}
export declare function processHtmlBundleEntry(options: ProcessHtmlBundleEntryOptions): void;
