import type Fetch from '../fetch'; import type { BaseModels } from '@voiceflow/base-types'; import CrudResource from './crud'; export declare const modelIDKey = "_id"; export type ModelIDKey = typeof modelIDKey; declare class DiagramResource extends CrudResource { constructor(fetch: Fetch); getRTC = BaseModels.Diagram.Model>(id: string): Promise<{ diagram: T; timestamp: number; }>; create(body: Omit, '_id'> & Partial, '_id'>>): Promise>; create, '_id'>>(body: T): Promise, '_id'>>; update(id: string, body: Partial>): Promise>>; update>>(id: string, body: T): Promise; updateNode>(id: string, nodeID: string, body: T): Promise>; patchNode>(id: string, nodeID: string, body: Partial): Promise>; deleteNode(id: string, nodeID: string): Promise; delete(id: string): Promise; deleteMany(ids: string[]): Promise; } export default DiagramResource; //# sourceMappingURL=diagram.d.ts.map