import { Chain, Transport, Hex } from 'viem'; import { Comment, PendingPostCommentOperationSchemaType } from './schemas.cjs'; import { IndexerAPICommentSchemaType } from '@ecp.eth/sdk/indexer/schemas'; import '@ecp.eth/sdk/indexer'; import 'zod/v3'; import '@ecp.eth/shared-signer/schemas/signer-api/shared'; type OnDeleteComment = (id: Hex) => void; type OnRetryPostComment = (comment: Comment, newPendingOperation: PendingPostCommentOperationSchemaType) => void; type OnSubmitSuccessFunction = () => void; type AllowedCommentTypes = IndexerAPICommentSchemaType; type AuthorType = AllowedCommentTypes["author"]; type ProcessEnvNetwork = { chainId: number; chain: Chain; transport: Transport; }; type DistributiveOmit = T extends any ? Omit : never; export type { AuthorType, DistributiveOmit, OnDeleteComment, OnRetryPostComment, OnSubmitSuccessFunction, ProcessEnvNetwork };