export type SourceKind = 'story' | 'chunk' | 'symbol';
export interface SourceHit {
    kind: SourceKind;
    /** Drop-in citation form (e.g. "src/foo.ts:120-180" or "story:3.3"). */
    ref: string;
    /** Short human-readable label for the prompt. */
    label: string;
    /** Body text packed into the prompt. */
    text: string;
    /** Normalized 0..1 score (higher = better). */
    score: number;
    /** Rough token cost (char/4 fallback). */
    tokens: number;
}
export interface ContextSourceProvider {
    kind: SourceKind;
    query(q: string, opts?: {
        topK?: number;
    }): Promise<SourceHit[]>;
}
