import { Schema, schema } from 'avsc'; import { Convert, Context } from './types'; export declare const addRef: (type: schema.RecordType | schema.EnumType, context: Context) => Context; export declare const collectRefs: (type: Schema, context: Context) => Context; export declare const convertType: Convert; export declare const toTypeScript: (schema: Schema, initial?: Context) => string; export declare const toExternalContext: (schema: Schema, initial?: Context) => { [key: string]: Schema; };