import { DirectusVersion } from "../../../schema/version.js"; import { ApplyQueryFields } from "../../../types/output.js"; import { Query } from "../../../types/query.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/read/versions.d.ts type ReadContentVersionOutput, Item extends object = DirectusVersion> = ApplyQueryFields; /** * List all Content Versions that exist in Directus. * @param query The query parameters * @returns An array of up to limit Content Version objects. If no items are available, data will be an empty array. */ declare const readContentVersions: >>(query?: TQuery) => RestCommand[], Schema>; /** * List an existing COntent Version by primary key. * @param key The primary key of the Content Version * @param query The query parameters * @returns Returns a Content Version object if a valid primary key was provided. * @throws Will throw if key is empty */ declare const readContentVersion: >>(key: DirectusVersion["id"], query?: TQuery) => RestCommand, Schema>; //#endregion export { ReadContentVersionOutput, readContentVersion, readContentVersions }; //# sourceMappingURL=versions.d.ts.map