/**
 * Collector Helpers
 * Phase 9: Helper functions for collector contract compliance
 */
import type { CollectorResult, CollectorStatus } from '../core/types.js';
/**
 * Convert old-style collector result to new contract
 * Temporary migration helper
 */
export declare function toNewCollectorResult<T>(oldResult: {
    ok: boolean;
    data?: T;
    ts: number;
    source: string;
    staleAfterMs: number;
    error?: {
        code: string;
        message: string;
    };
}, determineStatus?: (oldResult: any) => CollectorStatus): CollectorResult<T>;
//# sourceMappingURL=helpers.d.ts.map