import { AllBotiesQuery, BotieFragment, SubscribeBotieSubscription } from '../../generated-schemas/botie-schema'; export declare type Botie = Partial; import { Db } from '../db'; import { Store } from '../store'; export declare class BotieStore extends Store { protected db: Db; constructor(db: Db); /** * @todo confirm the return type of Observable * @param newBotie */ create(newBotie: { name: string; token: string; ownerId?: string; }): Promise; /** * delete * @param id */ delete(id: string): Promise; /** * update will only change the specified fields in documents it affects; * unspecified fields will be left untouched. * @param updateBotie */ update(id: string, props: Partial): Promise; }