import { DirectusCollection } from "../../../schema/collection.js"; import { ApplyQueryFields } from "../../../types/output.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/read/collections.d.ts type ReadCollectionOutput> = ApplyQueryFields; /** * List the available collections. * @returns An array of collection objects. */ declare const readCollections: () => RestCommand[], Schema>; /** * Retrieve a single collection by table name. * @param collection The collection name * @returns A collection object. * @throws Will throw if collection is empty */ declare const readCollection: (collection: DirectusCollection["collection"]) => RestCommand, Schema>; //#endregion export { ReadCollectionOutput, readCollection, readCollections }; //# sourceMappingURL=collections.d.ts.map