import { DirectusFlow } from "../../../schema/flow.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/flows.d.ts type CreateFlowOutput, Item extends object = DirectusFlow> = ApplyQueryFields; /** * Create multiple new flows. * * @param items The flows to create * @param query Optional return data query * * @returns Returns the flow object for the created flow. */ declare const createFlows: >>(items: NestedPartial>[], query?: TQuery) => RestCommand[], Schema>; /** * Create a new flow. * * @param item The flow to create * @param query Optional return data query * * @returns Returns the flow object for the created flow. */ declare const createFlow: >>(item: NestedPartial>, query?: TQuery) => RestCommand, Schema>; //#endregion export { CreateFlowOutput, createFlow, createFlows }; //# sourceMappingURL=flows.d.ts.map