import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { HistoryEventType } from "./historyeventtype.js"; export type HistoryResource = { id?: number | undefined; indexerId?: number | undefined; date?: Date | undefined; downloadId?: string | null | undefined; successful?: boolean | undefined; eventType?: HistoryEventType | undefined; data?: { [k: string]: string | null; } | null | undefined; }; /** @internal */ export declare const HistoryResource$inboundSchema: z.ZodType; /** @internal */ export type HistoryResource$Outbound = { id?: number | undefined; indexerId?: number | undefined; date?: string | undefined; downloadId?: string | null | undefined; successful?: boolean | undefined; eventType?: string | undefined; data?: { [k: string]: string | null; } | null | undefined; }; /** @internal */ export declare const HistoryResource$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace HistoryResource$ { /** @deprecated use `HistoryResource$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `HistoryResource$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `HistoryResource$Outbound` instead. */ type Outbound = HistoryResource$Outbound; } export declare function historyResourceToJSON(historyResource: HistoryResource): string; export declare function historyResourceFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=historyresource.d.ts.map