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