import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare const InsertSearchEventEntityType: {
    readonly Search: "search";
};
export type InsertSearchEventEntityType = ClosedEnum<typeof InsertSearchEventEntityType>;
export type InsertSearchEvent = {
    id?: string | undefined;
    type: string;
    searchQuery: string;
    /**
     * A timestamp in ISO 8601 format with timezone information. If not provided, the current time will be used.
     */
    createdAt?: Date | null | undefined;
    projectId?: string | null | undefined;
    integrationId?: string | null | undefined;
    /**
     * A customizable collection of custom properties or attributes.
     */
    properties?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * A customizable collection of custom properties or attributes.
     */
    userProperties?: {
        [k: string]: any;
    } | null | undefined;
    entityType: InsertSearchEventEntityType;
};
/** @internal */
export declare const InsertSearchEventEntityType$inboundSchema: z.ZodNativeEnum<typeof InsertSearchEventEntityType>;
/** @internal */
export declare const InsertSearchEventEntityType$outboundSchema: z.ZodNativeEnum<typeof InsertSearchEventEntityType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace InsertSearchEventEntityType$ {
    /** @deprecated use `InsertSearchEventEntityType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Search: "search";
    }>;
    /** @deprecated use `InsertSearchEventEntityType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Search: "search";
    }>;
}
/** @internal */
export declare const InsertSearchEvent$inboundSchema: z.ZodType<InsertSearchEvent, z.ZodTypeDef, unknown>;
/** @internal */
export type InsertSearchEvent$Outbound = {
    id?: string | undefined;
    type: string;
    searchQuery: string;
    createdAt?: string | null | undefined;
    projectId?: string | null | undefined;
    integrationId?: string | null | undefined;
    properties?: {
        [k: string]: any;
    } | null | undefined;
    userProperties?: {
        [k: string]: any;
    } | null | undefined;
    entityType: string;
};
/** @internal */
export declare const InsertSearchEvent$outboundSchema: z.ZodType<InsertSearchEvent$Outbound, z.ZodTypeDef, InsertSearchEvent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace InsertSearchEvent$ {
    /** @deprecated use `InsertSearchEvent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<InsertSearchEvent, z.ZodTypeDef, unknown>;
    /** @deprecated use `InsertSearchEvent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<InsertSearchEvent$Outbound, z.ZodTypeDef, InsertSearchEvent>;
    /** @deprecated use `InsertSearchEvent$Outbound` instead. */
    type Outbound = InsertSearchEvent$Outbound;
}
export declare function insertSearchEventToJSON(insertSearchEvent: InsertSearchEvent): string;
export declare function insertSearchEventFromJSON(jsonString: string): SafeParseResult<InsertSearchEvent, SDKValidationError>;
//# sourceMappingURL=insertsearchevent.d.ts.map