import type { MoteurClient } from '../client.js'; export type SubmissionListParams = { /** `received`, `processed` or `spam`. */ status?: string; /** Only submissions nobody has opened (spam left out). */ unread?: boolean; offset?: number; /** At most 500. */ limit?: number; }; export type SubmissionListResult = { /** Newest first. */ submissions: Record[]; total: number; unread: number; }; export declare function projectSubmissionsApi(client: MoteurClient): { list(projectId: string, formId: string, params?: SubmissionListParams): Promise; get(projectId: string, formId: string, submissionId: string): Promise<{ submission: Record; }>; /** Mark read or unread, spam or not spam. */ update(projectId: string, formId: string, submissionId: string, patch: { read?: boolean; spam?: boolean; }): Promise<{ submission: Record; }>; /** Every submission of the form, as CSV text (or a JSON string). */ export(projectId: string, formId: string, format?: "csv" | "json"): Promise; delete(projectId: string, formId: string, submissionId: string): Promise; }; //# sourceMappingURL=submissions.d.ts.map