import { DirectusPanel } from "../../../schema/panel.js"; import { ApplyQueryFields } from "../../../types/output.js"; import { Query } from "../../../types/query.js"; import { RestCommand } from "../../types.js"; //#region src/rest/commands/read/panels.d.ts type ReadPanelOutput, Item extends object = DirectusPanel> = ApplyQueryFields; /** * List all Panels that exist in Directus. * @param query The query parameters * @returns An array of up to limit panel objects. If no items are available, data will be an empty array. */ declare const readPanels: >>(query?: TQuery) => RestCommand[], Schema>; /** * List an existing panel by primary key. * @param key The primary key of the dashboard * @param query The query parameters * @returns Returns the requested panel object. * @throws Will throw if key is empty */ declare const readPanel: >>(key: DirectusPanel["id"], query?: TQuery) => RestCommand, Schema>; //#endregion export { ReadPanelOutput, readPanel, readPanels }; //# sourceMappingURL=panels.d.ts.map