import type PluginManager from '@jbrowse/core/PluginManager';
import type { FileLocation } from '@jbrowse/core/util/types';
import type { Instance } from 'mobx-state-tree';
interface IndexingAttr {
    attributes: string[];
    exclude: string[];
}
export default function f(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
    id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
    type: import("mobx-state-tree").ISimpleType<"AddTrackWidget">;
    view: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
}, {
    trackSource: string;
    trackData: FileLocation | undefined;
    indexTrackData: FileLocation | undefined;
    altAssemblyName: string;
    altTrackName: string;
    altTrackType: string;
    adapterHint: string;
    textIndexTrack: boolean;
    textIndexingConf: IndexingAttr | undefined;
    mixinData: {};
} & {
    setMixinData(arg: Record<string, unknown>): void;
    setAdapterHint(obj: string): void;
    setTrackSource(str: string): void;
    setTextIndexingConf(conf: IndexingAttr): void;
    setTextIndexTrack(flag: boolean): void;
    setTrackData(obj: FileLocation): void;
    setIndexTrackData(obj: FileLocation): void;
    setAssembly(str: string): void;
    setTrackName(str: string): void;
    setTrackType(str: string): void;
    clearData(): void;
} & {
    readonly trackAdapter: import("@jbrowse/core/util/tracks").AdapterConfig | undefined;
    readonly trackName: string;
    readonly isFtp: boolean;
    readonly isRelativeTrackUrl: boolean;
    readonly isRelativeIndexUrl: boolean;
    readonly isRelativeUrl: boolean;
    readonly trackHttp: any;
    readonly indexHttp: any;
    readonly wrongProtocol: any;
    readonly unsupported: boolean;
    readonly assembly: any;
    readonly trackAdapterType: string | undefined;
    readonly trackType: string;
} & {
    getTrackConfig(timestamp: number): {
        trackId: string;
        type: string;
        name: string;
        assemblyNames: any[];
        adapter: {
            sequenceAdapter: any;
            type: string;
        };
    } | undefined;
    readonly warningMessage: "" | "Warning: JBrowse cannot access files using the ftp protocol" | "Warning: one or more of your files do not provide the protocol e.g.\n          https://, please provide an absolute URL unless you are sure a\n          relative URL is intended." | "Warning: You entered a http:// resources but we cannot access HTTP\n          resources from JBrowse when it is running on https. Please use an\n          https URL for your track, or access the JBrowse app from the http\n          protocol";
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
export type AddTrackStateModel = ReturnType<typeof f>;
export type AddTrackModel = Instance<AddTrackStateModel>;
export {};
