import { ContextBreakdown } from "../constants/context-breakdown.js";

//#region src/utils/token-estimator.d.ts

/**
 * @deprecated Use actual AI SDK usage data (`StepResult.usage.inputTokens`) instead.
 * This heuristic (4 chars = 1 token) is inaccurate and should not be used for
 * decision-driving logic. Remaining accepted usages:
 * - distill-utils.ts: lightweight pre-check before distillation LLM call
 * - ConversationCompressor: pre-generation, no step data available yet
 * - PromptConfig context breakdown: telemetry only
 */
declare function estimateTokens(text: string | undefined | null): number;
interface AssembleResult {
  prompt: string;
  breakdown: ContextBreakdown;
  artifactsMessage: string | null;
}
//#endregion
export { AssembleResult, estimateTokens };