import { PKC } from "./pkc.js"; import type { InputPKCOptions, GetCommunityArgs, GetCommentArgs } from "../types.js"; import { CreateRpcCommunityFunctionArgumentSchema } from "../community/schema.js"; import { RpcLocalCommunity } from "../community/rpc-local-community.js"; import { RpcRemoteCommunity } from "../community/rpc-remote-community.js"; import type { RpcLocalCommunityJson, RpcRemoteCommunityJson } from "../community/types.js"; import { z } from "zod"; import type { AuthorNameRpcParam, CidRpcParam } from "../clients/rpc-client/types.js"; export declare class PKCWithRpcClient extends PKC { _pkcRpcClient: NonNullable; pkcRpcClientsOptions: NonNullable; constructor(options: InputPKCOptions); _init(): Promise; fetchCid(cid: CidRpcParam): Promise<{ content: string; }>; resolveAuthorName(args: AuthorNameRpcParam): Promise<{ resolvedAuthorName: string | null; }>; destroy(): Promise; getComment(getCommentArgs: GetCommentArgs): Promise; getCommunity(getCommunityArgs: GetCommunityArgs): Promise; createCommunity(options?: z.infer | RpcRemoteCommunityJson | RpcLocalCommunityJson, opts?: { abortSignal?: AbortSignal; }): Promise; }