import { Conversation, ITokeniser } from '../../main';
export declare abstract class Task {
    abstract get length(): number;
    abstract hasMoreConversations(): boolean;
    abstract nextConversation(): Conversation[] | null;
    abstract nextTokens(tokeniser: ITokeniser): number[] | null;
    abstract estimateTokens(tokeniser: ITokeniser): Promise<number>;
    abstract shuffle(): void;
}
export declare function tokensFromTasks(tasks: Task[], tokenizer: ITokeniser, cb?: (tokens: number) => void): Promise<Uint16Array>;
