/** * Identity Resource * * Raw passthrough to the `identity` procedures: each method forwards its * argument verbatim to tRPC and returns the response verbatim. No SDK-side * validation, no error mapping, no model wrapping. * The server re-runs the same Zod schemas from `@artu-ai/shared`. */ import type { GetIdentityRunDetailInput, IdentityListSummaryInput, ListIdentityInput, RunIdentityInput } from "@artu-ai/shared/schemas/identity"; import type { TRPCClient } from "../../utils/trpc-client"; export declare class IdentityResource { private readonly trpc; constructor(trpc: TRPCClient); run(input: RunIdentityInput): Promise<{ id: string; clientId: string; checkedBy: string; results: Record; createdAt: string; }>; listByClient(input: ListIdentityInput): Promise<{ id: string; clientId: string; checkedBy: string; results: Record; createdAt: string; }[]>; getRunDetail(input: GetIdentityRunDetailInput): Promise<{ id: string; clientId: string; createdAt: string; checkedBy: string; results: Record; checkResults: { reason: { code: "timeout" | "unknown" | "parse" | "http" | "provider-semantic"; message?: string | undefined; } | null; createdAt: string; outcome: "pass" | "flag" | "inconclusive"; checkId: string; providerId: string; data?: unknown; }[]; }>; listSummary(input: IdentityListSummaryInput): Promise<{ name: string; providerId: string; checkId: string; status: "failed" | "hit" | "cleared"; checkedAt: string; }[]>; getEligibleChecks(input: { clientId: string; }): Promise; }