declare const pipeline: ({ $lookup: { from: string; localField: string; foreignField: string; as: string; }; $unwind?: undefined; $match?: undefined; $group?: undefined; $project?: undefined; } | { $unwind: string; $lookup?: undefined; $match?: undefined; $group?: undefined; $project?: undefined; } | { $match: { "venue.a2": string; }; $lookup?: undefined; $unwind?: undefined; $group?: undefined; $project?: undefined; } | { $group: { _id: { id: string; created: string; pat: string; venue: string; agent: string; client: string; lead: string; referral: string; status: { $arrayElemAt: (string | number)[]; }; }; notes: { $push: string; }; }; $lookup?: undefined; $unwind?: undefined; $match?: undefined; $project?: undefined; } | { $project: { id: string; created: string; agent: { id: string; username: string; img: string; }; client: { id: string; username: string; img: string; }; pat: { date: string; time: string; venue: { name: string; loc: string; }; }; notes: string; lead: { id: string; created: string; method: string; campaign: string; }; referral: string; status: string; }; $lookup?: undefined; $unwind?: undefined; $match?: undefined; $group?: undefined; })[];