import type { Collection, ObjectId, WithId } from "mongodb"; import type { Flow, FlowUpdateParams } from "./flows.types"; export declare const getFlowsCollection: () => Collection; export declare const findFlowById: (flowId: ObjectId, clientId: string) => Promise | null>; export declare const createFlow: (flow: Flow) => Promise>; /** Returns false when no flow matches the id for this client. */ export declare const updateFlowById: (flowId: ObjectId, clientId: string, update: FlowUpdateParams) => Promise; //# sourceMappingURL=flows.getter.d.ts.map