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 SelectSearchEventEntityType: {
    readonly Search: "search";
};
export type SelectSearchEventEntityType = ClosedEnum<typeof SelectSearchEventEntityType>;
export type SelectSearchEvent = {
    id: string;
    type: string;
    searchQuery: string;
    createdAt: string;
    projectId: string | null;
    integrationId: string | null;
    /**
     * 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: SelectSearchEventEntityType;
};
/** @internal */
export declare const SelectSearchEventEntityType$inboundSchema: z.ZodNativeEnum<typeof SelectSearchEventEntityType>;
/** @internal */
export declare const SelectSearchEventEntityType$outboundSchema: z.ZodNativeEnum<typeof SelectSearchEventEntityType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SelectSearchEventEntityType$ {
    /** @deprecated use `SelectSearchEventEntityType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Search: "search";
    }>;
    /** @deprecated use `SelectSearchEventEntityType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Search: "search";
    }>;
}
/** @internal */
export declare const SelectSearchEvent$inboundSchema: z.ZodType<SelectSearchEvent, z.ZodTypeDef, unknown>;
/** @internal */
export type SelectSearchEvent$Outbound = {
    id: string;
    type: string;
    searchQuery: string;
    createdAt: string;
    projectId: string | null;
    integrationId: string | null;
    properties?: {
        [k: string]: any;
    } | null | undefined;
    userProperties?: {
        [k: string]: any;
    } | null | undefined;
    entityType: string;
};
/** @internal */
export declare const SelectSearchEvent$outboundSchema: z.ZodType<SelectSearchEvent$Outbound, z.ZodTypeDef, SelectSearchEvent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SelectSearchEvent$ {
    /** @deprecated use `SelectSearchEvent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SelectSearchEvent, z.ZodTypeDef, unknown>;
    /** @deprecated use `SelectSearchEvent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SelectSearchEvent$Outbound, z.ZodTypeDef, SelectSearchEvent>;
    /** @deprecated use `SelectSearchEvent$Outbound` instead. */
    type Outbound = SelectSearchEvent$Outbound;
}
export declare function selectSearchEventToJSON(selectSearchEvent: SelectSearchEvent): string;
export declare function selectSearchEventFromJSON(jsonString: string): SafeParseResult<SelectSearchEvent, SDKValidationError>;
//# sourceMappingURL=selectsearchevent.d.ts.map