import Trix from '@gmod/trix';
import BaseResult from '@jbrowse/core/TextSearch/BaseResults';
import { BaseAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
import type PluginManager from '@jbrowse/core/PluginManager';
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
import type { BaseTextSearchAdapter, BaseTextSearchArgs } from '@jbrowse/core/data_adapters/BaseAdapter';
import type { getSubAdapterType } from '@jbrowse/core/data_adapters/dataAdapterCache';
export default class TrixTextSearchAdapter extends BaseAdapter implements BaseTextSearchAdapter {
    indexingAttributes?: string[];
    trixJs: Trix;
    tracksNames?: string[];
    constructor(config: AnyConfigurationModel, getSubAdapter?: getSubAdapterType, pluginManager?: PluginManager);
    searchIndex(args: BaseTextSearchArgs): Promise<BaseResult[]>;
    freeResources(): void;
}
