import * as z from "zod/v4-mini"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; import * as models from "../index.js"; export declare const SortBy: { readonly TrustLevel: "trustLevel"; readonly ViolationCount: "violationCount"; readonly ReportCount: "reportCount"; readonly MemberSince: "memberSince"; readonly LastActive: "lastActive"; readonly ContentCount: "contentCount"; readonly FlaggedContentRatio: "flaggedContentRatio"; readonly AverageSentiment: "averageSentiment"; }; export type SortBy = ClosedEnum; /** * Sort direction */ export declare const ListAuthorsSortDirection: { readonly Asc: "asc"; readonly Desc: "desc"; }; /** * Sort direction */ export type ListAuthorsSortDirection = ClosedEnum; export type ListAuthorsRequest = { page?: number | undefined; pageSize?: number | undefined; sortBy?: SortBy | undefined; /** * Sort direction */ sortDirection?: ListAuthorsSortDirection | undefined; memberSinceDate?: string | undefined; lastActiveDate?: string | undefined; contentTypes?: Array | undefined; /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; }; /** * Successful response */ export type ListAuthorsResponseBody = { /** * The items on this page. */ data: Array; /** * Where this page is in the full list. */ pagination: models.Pagination; }; export type ListAuthorsResponse = { result: ListAuthorsResponseBody; }; /** @internal */ export declare const SortBy$outboundSchema: z.ZodMiniEnum; /** @internal */ export declare const ListAuthorsSortDirection$outboundSchema: z.ZodMiniEnum; /** @internal */ export type ListAuthorsRequest$Outbound = { page: number; pageSize: number; sortBy?: string | undefined; sortDirection: string; memberSinceDate?: string | undefined; lastActiveDate?: string | undefined; contentTypes?: Array | undefined; projectId?: string | undefined; }; /** @internal */ export declare const ListAuthorsRequest$outboundSchema: z.ZodMiniType; export declare function listAuthorsRequestToJSON(listAuthorsRequest: ListAuthorsRequest): string; /** @internal */ export declare const ListAuthorsResponseBody$inboundSchema: z.ZodMiniType; export declare function listAuthorsResponseBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListAuthorsResponse$inboundSchema: z.ZodMiniType; export declare function listAuthorsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=list-authors.d.ts.map