import { Forms } from "../api/resources/forms/client/Client"; import * as core from "../core"; import * as Webflow from "../api"; declare module "../api/resources/forms/client/Client" { namespace Forms { } } export declare class Client extends Forms { protected readonly _options: Forms.Options; constructor(_options: Forms.Options); /** * @deprecated Use `client.sites.forms.listSubmissionsBySite` instead. * * List form submissions for a given site. This endpoint differs from the existing [List Form Submissions endpoint](/data/reference/forms/form-submissions/list-submissions) by accepting `siteId` as a path parameter and `elementId` as a query parameter. You can get the `elementId` from the [List forms endpoint](/data/reference/forms/forms/list). * * Required scope | `forms:read` * * @param {string} siteId - Unique identifier for a Site * @param {Webflow.FormsListSubmissionsBySiteRequest} request * @param {Forms.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.ForbiddenError} * @throws {@link Webflow.NotFoundError} * @throws {@link Webflow.TooManyRequestsError} * @throws {@link Webflow.InternalServerError} * * @example * await client.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", { * elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0", * offset: 1.1, * limit: 1.1 * }) */ listSubmissionsBySite(siteId: string, request?: Webflow.sites.FormsListSubmissionsBySiteRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise; private __listSubmissionsBySite; }