import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Mysql = { /** * Optional plugin-specific data, whose meaning depends on the value of auth_plugin_name. Returned in the initial HandshakePacket. */ authPluginData?: string | undefined; /** * The name of the authentication plugin, returned in the initial HandshakePacket. */ authPluginName?: string | undefined; /** * The set of capability flags the server returned in the initial HandshakePacket. Each entry corresponds to a bit being set in the flags; key names correspond to the #defines in the MySQL docs. */ capabilityFlags?: { [k: string]: boolean; } | undefined; /** * The identifier for the character set the server is using. Returned in the initial HandshakePacket. */ characterSet?: number | undefined; /** * The server's internal identifier for this client's connection, sent in the initial HandshakePacket. */ connectionId?: number | undefined; /** * Only set if there is an error returned by the server, for example if the scanner is not on the allowed hosts list. */ errorCode?: number | undefined; /** * The friendly name for the error code as defined at https://dev.mysql.com/doc/refman/8.0/en/error-messages-server.html, or UNKNOWN */ errorId?: string | undefined; /** * Optional string describing the error. Only set if there is an error. */ errorMessage?: string | undefined; /** * 8-bit unsigned integer representing the server's protocol version sent in the initial HandshakePacket from the server. */ protocolVersion?: number | undefined; /** * The specific server version returned in the initial HandshakePacket. Often in the form x.y.z, but not always. */ serverVersion?: string | undefined; /** * The set of status flags the server returned in the initial HandshakePacket. Each entry corresponds to a bit being set in the flags; key names correspond to the #defines in the MySQL docs. */ statusFlags?: { [k: string]: boolean; } | undefined; }; /** @internal */ export declare const Mysql$inboundSchema: z.ZodType; export declare function mysqlFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=mysql.d.ts.map