import { ReactionContent } from '../__generated__/codegen/graphql.cjs'; import { PagerParams } from '../lib/pager.cjs'; import { P as Publissue } from '../index-BlDDHGET.cjs'; import '@graphql-typed-document-node/core'; import '../lib/graphql.cjs'; import '../lib/types.cjs'; import '../__generated__/codegen/fragment-masking.cjs'; import '../__generated__/codegen/gql.cjs'; declare function getComments(this: Publissue, props: ({ postNumber: number; } & PagerParams) | ({ postId: string; } & PagerParams)): Promise<{ totalCount?: undefined; pageInfo?: undefined; edges?: undefined; } | { totalCount: number; pageInfo: { __typename?: "PageInfo"; endCursor?: string | null; startCursor?: string | null; hasNextPage: boolean; hasPreviousPage: boolean; }; edges: { cursor: string; comment: { id: string; reactions: { name: ReactionContent; count: number; }[]; author: { name: string; avatarUrl: string | null; login: string | null; twitterUsername: string | null; } | null; createdAt: string; body: string; lastEditedAt: string | null; isMinimized: boolean; minimizedReason: string | null; totalReactions: number; } | null; }[] | undefined; }>; export { getComments };