import { GPTConfig } from '../models/config';
import { LoadResult, TransformersConfig, TransformersMetadata, TransformersTokeniser } from './types';
export declare function mapTransformersConfigToGPTConfig(config: TransformersConfig): GPTConfig;
export default function loadTransformers(config: TransformersConfig, tokeniser: TransformersTokeniser, metadata: TransformersMetadata, weightData: ArrayBuffer): Promise<LoadResult>;
