import { DirectusComment } from "../../../schema/comment.js"; import { NestedPartial } from "../../../types/utils.js"; import { ApplyQueryFields } from "../../../types/output.js"; import { Query } from "../../../types/query.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/create/comments.d.ts type CreateCommentOutput, Item extends object = DirectusComment> = ApplyQueryFields; /** * Create multiple new comments. * * @param items The comments to create * @param query Optional return data query * * @returns Returns the comment object for the created comment. */ declare const createComments: >>(items: NestedPartial>[], query?: TQuery) => RestCommand[], Schema>; /** * Create a new comment. * * @param item The comment to create * @param query Optional return data query * * @returns Returns the comment object for the created comment. */ declare const createComment: >>(item: NestedPartial>, query?: TQuery) => RestCommand, Schema>; //#endregion export { CreateCommentOutput, createComment, createComments }; //# sourceMappingURL=comments.d.ts.map