import type { LRUCache } from "lru-cache"; import type { Crosspost } from "./schema.js"; import type { CrosspostRuntime } from "./types.js"; export declare function cloneCrosspostForRuntime(crosspost: Crosspost): CrosspostRuntime; export declare const CROSSPOST_LEVELS_TO_RESOLVE_AUTHOR_NAMES_FOR = 10; export declare function collectCrosspostAuthorsToResolve({ crosspost, maxLevels }: { crosspost: CrosspostRuntime; maxLevels?: number; }): Array<{ authorName: string; signaturePublicKey: string; }>; export declare function applyNameResolvedCacheToCrosspost({ crosspost, cache }: { crosspost: CrosspostRuntime; cache: LRUCache; }): boolean; export type CrosspostRuntimeFields = { comment?: { author?: { nameResolved?: boolean; }; crosspost?: CrosspostRuntimeFields; }; }; export declare function buildCrosspostRuntimeFieldsFromCache({ crosspost, cache }: { crosspost: Crosspost; cache: LRUCache; }): CrosspostRuntimeFields | undefined; export declare function extractCrosspostRuntimeFields(crosspost: CrosspostRuntime): CrosspostRuntimeFields | undefined; export declare function stripNameResolvedFromCrosspost(crosspost: T): void;