type Match = {
    /** Start offset of match in text */
    start: number;
    /** End offset of match in text */
    end: number;
    /**
     * Score for the match between 0 and 1.0, where 1.0 indicates a perfect match
     * for the quote and context.
     */
    score: number;
};
type Context = {
    /** Expected text before the quote */
    prefix?: string;
    /** Expected text after the quote */
    suffix?: string;
    /** Expected offset of match within text */
    hint?: number;
};
/**
 * Find the best approximate match for `quote` in `text`.
 *
 * @param text - Document text to search
 * @param quote - String to find within `text`
 * @param context - Context in which the quote originally appeared. This is
 *        used to choose the best match.
 * @return `null` if no match exceeding the minimum quality threshold was found.
 */
export declare function matchQuote(text: string, quote: string, context?: Context): Match | null;
export {};
