/**
 * @copyright Sister Software
 * @license AGPL-3.0
 * @author Teffen Ellis, et al.
 */
import { Span } from "./Span.js";
export interface PermutateOptions {
    /**
     * The minimum amount of tokens which can be returned in a single window.
     */
    from: number;
    /**
     * The maximum amount of tokens which can be returned in a single window.
     */
    to: number;
}
/**
 * Produce all the possible token groups from adjacent input tokens (without reordering tokens).
 *
 * Example: ['soho', 'new', 'york', 'usa'] [ ['soho', 'new', 'york', 'usa'], ['soho', 'new',
 * 'york'], ['soho', 'new'], ['soho'], ['new', 'york', 'usa'], ['new', 'york'], ['new'], ['york',
 * 'usa'], ['york'], ['usa'], ]
 *
 * @param spans - The spans to permutate
 *
 * @returns The permutations
 */
export declare function permutate(spans: Iterable<Span>, { from, to }: PermutateOptions): Span[];
//# sourceMappingURL=permutate.d.ts.map