import { DatabaseService } from "@fireenjin/sdk";
export default function downloadCSV({ limit, filename, collection, filters, }: {
  filename?: string;
  limit?: number;
  collection?: string;
  filters?: {
    whereEqual?: {
      [key: string]: any;
    };
    whereLessThan?: {
      [key: string]: any;
    };
    whereLessThanOrEqual?: {
      [key: string]: any;
    };
    whereGreaterThan?: {
      [key: string]: any;
    };
    whereGreaterThanOrEqual?: {
      [key: string]: any;
    };
    whereArrayContains?: {
      [key: string]: any;
    };
    whereArrayContainsAny?: {
      [key: string]: any;
    };
    whereIn?: {
      [key: string]: any;
    };
  };
}, { db }: {
  db: DatabaseService;
}): Promise<{
  result: string;
}>;
