import { GateRecord, PostRecord, PostReplyRef } from '../../views/types.js'; import { DatabaseSchema } from './db/database-schema.js'; export declare const getDescendentsQb: (db: DatabaseSchema, opts: { uri: string; depth: number; }) => import("kysely").QueryCreatorWithCommonTableExpression>) => import("kysely").SelectQueryBuilder, "post">, "post", import("kysely").Selection, "post">, "post", "post.uri as uri" | import("kysely").AliasedRawBuilder>>>; export declare const getAncestorsAndSelfQb: (db: DatabaseSchema, opts: { uri: string; parentHeight: number; }) => import("kysely").QueryCreatorWithCommonTableExpression>) => import("kysely").SelectQueryBuilder, "post">, "post", import("kysely").Selection, "post">, "post", "post.uri as uri" | "post.replyParent as ancestorUri" | import("kysely").AliasedRawBuilder>>>; export declare const invalidReplyRoot: (reply: PostReplyRef, parent: { record: PostRecord; invalidReplyRoot: boolean | null; }) => boolean; export declare const violatesThreadGate: (db: DatabaseSchema, replierDid: string, ownerDid: string, rootPost: PostRecord | null, gate: GateRecord | null) => Promise; export type PostSearchQuery = { q: string; author: string | undefined; }; export declare const parsePostSearchQuery: (qParam: string, params?: { author?: string; }) => PostSearchQuery; //# sourceMappingURL=util.d.ts.map