import { type HalfPeriodProvider } from './half_period_provider/HalfPeriodProvider.js'; export declare class DynamicSyncFinder { private readonly halfPeriodProvider; private readonly minHalfPeriods; private readonly maxRelativeDeviation; /** * @param minHalfPeriods minimal number of half periods so search for * @param maxRelativeDeviation maximum allowed relative deviation of frequency within sync */ constructor(halfPeriodProvider: HalfPeriodProvider, minHalfPeriods: number, maxRelativeDeviation?: number); /** * Find a valid sync sequence of unknown frequency and leave the HalfPeriodProvider * positioned at the beginning of the first half period that does not belong to the * sync itself. * * @returns detected frequency if sync sequence was found, otherwise undefined */ findSync(): number | undefined; private startMeasuring; }