import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type SessionInfo = { /** * A unique token for this session. A new session (and token) is created when the user issues a request from a new tab or when our server hasn't seen activity for more than 10 minutes from a tab. */ sessionTrackingToken?: string | undefined; /** * A unique id for all requests a user makes from a given tab, no matter how far apart. A new tab id is only generated when a user issues a request from a new tab. */ tabId?: string | undefined; /** * The last time the server saw this token. */ lastSeen?: Date | undefined; /** * The last query seen by the server. */ lastQuery?: string | undefined; }; /** @internal */ export declare const SessionInfo$inboundSchema: z.ZodType; /** @internal */ export type SessionInfo$Outbound = { sessionTrackingToken?: string | undefined; tabId?: string | undefined; lastSeen?: string | undefined; lastQuery?: string | undefined; }; /** @internal */ export declare const SessionInfo$outboundSchema: z.ZodType; export declare function sessionInfoToJSON(sessionInfo: SessionInfo): string; export declare function sessionInfoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sessioninfo.d.ts.map