import { Document } from '../types'; export declare function createDocument(typename: string, partial: Record, key?: string): T;