export interface ContextSizingModelInfo { modelInfo: Record; weightsBytes: number; } export interface ContextSizingHostProfile { totalMemBytes: number; headroomFraction?: number; } export interface ContextSizingRuntimeCaps { supportsKvQuantization?: boolean; } export interface ContextSizingDecision { numCtx: number; kvCacheType?: "q8_0"; kvBytesPerToken: number; budgetBytes: number; estimatedBytes: number; } export declare function deriveLocalContextSizing(args: { host: ContextSizingHostProfile; model: ContextSizingModelInfo; runtime?: ContextSizingRuntimeCaps; rungs?: readonly number[]; }): ContextSizingDecision | undefined; export declare function renderOllamaContextModelfile(args: { from: string; numCtx: number; }): string; export declare function sizedLocalModelRef(sourceRef: string, numCtx: number): string; export declare function derivedLocalModelRef(sourceRef: string, tag: string): string; //# sourceMappingURL=context-sizing.d.ts.map