import type { Finding, TokenMap } from "../types.js"; export interface PayloadOptions { projectName: string; topN: number; maxFilesPerRule: number; /** `.lyse.yaml` `advisory.migrationScaleFileCount` override; falls back to `MIGRATION_SCALE_FILE_COUNT_DEFAULT`. */ migrationScaleFileCount?: number; } export declare function buildHandoffPayload(findings: Finding[], opts: PayloadOptions): string; export declare function serializeTokenMap(tokens: TokenMap | null): Record;