import { RequestOptionsFactory } from '@wix/sdk-types'; /** Creates a report. */ export declare function createReport(payload: object): RequestOptionsFactory; /** * Retrieves a report. * * Site members and visitors can only access their own reports. */ export declare function getReport(payload: object): RequestOptionsFactory; /** * Updates a report. * * Each time the report is updated, `revision` increments by 1. The current `revision` must be passed when updating the report. This ensures you're working with the latest report and prevents unintended overwrites. */ export declare function updateReport(payload: object): RequestOptionsFactory; /** * Deletes a report and removes it from the report list in the dashboard. * * Site members and visitors can only delete their own reports. */ export declare function deleteReport(payload: object): RequestOptionsFactory; /** * Creates or updates a report. * If the report for the requested entity already exists, updates the report with the provided `reason` value. Otherwise, creates the report. */ export declare function upsertReport(payload: object): RequestOptionsFactory; /** Deletes multiple reports by filter, and removes them from the report list in the dashboard. */ export declare function bulkDeleteReportsByFilter(payload: object): RequestOptionsFactory; /** Counts reports by reason types. */ export declare function countReportsByReasonTypes(payload: object): RequestOptionsFactory; /** * Retrieves a list of reports, given the provided paging, filtering, and sorting. * Query Reports runs with these defaults, which you can override: * - `createdDate` is sorted in `ASC` order * - `paging.limit` is `100` * - `paging.offset` is `0` * * For field support for filters and sorting, see [Reports: Supported Filters and Sorting](). * To learn about working with _Query_ endpoints, see [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language). */ export declare function queryReports(payload: object): RequestOptionsFactory; /** * Updates extended fields of a report. * [Extended fields](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/about-schema-plugin-extensions) must first be configured in the app dashboard. */ export declare function updateExtendedFields(payload: object): RequestOptionsFactory;