import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { OracleDescriptor } from "./oracledescriptor.js"; export type Oracle = { /** * The version declared by the service when it accepts the handshake, if applicable. */ acceptVersion?: number | undefined; /** * The first set of ConnectFlags returned in the Accept packet. */ connectFlags0?: { [k: string]: boolean; } | undefined; /** * The second set of ConnectFlags returned in the Accept packet. */ connectFlags1?: { [k: string]: boolean; } | undefined; /** * Whether the server requested that the scanner resend its initial connection packet. */ didResend?: boolean | undefined; /** * Set of flags that the server returns in the Accept packet. */ globalServiceOptions?: { [k: string]: boolean; } | undefined; /** * A map from the native Service Negotation service names to the ReleaseVersion (in dotted-decimal format) in that service packet. */ nsnServiceVersions?: { [k: string]: string; } | undefined; /** * The version string in the root of the native service negotiation packet, if applicable. */ nsnVersion?: string | undefined; /** * The parsed descriptor returned by the server in the Refuse packet; it is empty if the server does not return a Refuse packet. The keys are strings like 'DESCRIPTION.ERROR_STACK.ERROR.CODE */ refuseError?: Array | null | undefined; /** * The unparsed error received when the initial handshake is refused. */ refuseErrorRaw?: string | undefined; /** * The 'AppReason' returned by the server in the RefusePacket, as an 8-bit unsigned hex string. */ refuseReasonApp?: string | undefined; /** * The 'SysReason' returned by the server in the RefusePacket, as an 8-bit unsigned hex string. */ refuseReasonSys?: string | undefined; /** * The version declared by the service when it refuses the handshake, if applicable. */ refuseVersion?: string | undefined; }; /** @internal */ export declare const Oracle$inboundSchema: z.ZodType; export declare function oracleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=oracle.d.ts.map