import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare enum Categories {
    Ats = "ats",
    Hris = "hris",
    HrisLegacy = "hris-legacy",
    Crm = "crm",
    Iam = "iam",
    Marketing = "marketing",
    Lms = "lms",
    Stackone = "stackone",
    Documents = "documents",
    Ticketing = "ticketing",
    Screening = "screening",
    Messaging = "messaging",
    Accounting = "accounting"
}
/**
 * Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
 */
export type Metadata = {};
/**
 * The connect session account type
 */
export declare enum ConnectSessionType {
    Production = "production",
    Test = "test",
    UnmappedValue = "unmapped_value"
}
/**
 * The connect session account type
 */
export type ConnectSessionTypeOpen = OpenEnum<typeof ConnectSessionType>;
export type ConnectSession = {
    accountId?: string | null | undefined;
    categories?: Array<Categories> | null | undefined;
    createdAt: Date;
    /**
     * External trigger token to be used to trigger actions on the account
     */
    externalTriggerToken?: string | null | undefined;
    id: number;
    label?: string | null | undefined;
    /**
     * Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
     */
    metadata?: Metadata | null | undefined;
    organizationId: number;
    originOwnerId: string;
    originOwnerName: string;
    originUsername?: string | null | undefined;
    projectId: string;
    provider?: string | null | undefined;
    /**
     * The connect session account type
     */
    type?: ConnectSessionTypeOpen | null | undefined;
};
/** @internal */
export declare const Categories$inboundSchema: z.ZodNativeEnum<typeof Categories>;
/** @internal */
export declare const Metadata$inboundSchema: z.ZodType<Metadata, z.ZodTypeDef, unknown>;
export declare function metadataFromJSON(jsonString: string): SafeParseResult<Metadata, SDKValidationError>;
/** @internal */
export declare const ConnectSessionType$inboundSchema: z.ZodType<ConnectSessionTypeOpen, z.ZodTypeDef, unknown>;
/** @internal */
export declare const ConnectSession$inboundSchema: z.ZodType<ConnectSession, z.ZodTypeDef, unknown>;
export declare function connectSessionFromJSON(jsonString: string): SafeParseResult<ConnectSession, SDKValidationError>;
//# sourceMappingURL=connectsession.d.ts.map