import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare enum Reference2 {
    True = "true",
    False = "false"
}
/**
 * The reference status
 */
export type Active = boolean | Reference2;
export type Reference = {
    /**
     * The reference status
     */
    active?: boolean | Reference2 | null | undefined;
    /**
     * The reference id
     */
    id?: string | null | undefined;
    /**
     * The reference name
     */
    name?: string | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
};
/** @internal */
export declare const Reference2$inboundSchema: z.ZodNativeEnum<typeof Reference2>;
/** @internal */
export declare const Reference2$outboundSchema: z.ZodNativeEnum<typeof Reference2>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Reference2$ {
    /** @deprecated use `Reference2$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<typeof Reference2>;
    /** @deprecated use `Reference2$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<typeof Reference2>;
}
/** @internal */
export declare const Active$inboundSchema: z.ZodType<Active, z.ZodTypeDef, unknown>;
/** @internal */
export type Active$Outbound = boolean | string;
/** @internal */
export declare const Active$outboundSchema: z.ZodType<Active$Outbound, z.ZodTypeDef, Active>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Active$ {
    /** @deprecated use `Active$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Active, z.ZodTypeDef, unknown>;
    /** @deprecated use `Active$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Active$Outbound, z.ZodTypeDef, Active>;
    /** @deprecated use `Active$Outbound` instead. */
    type Outbound = Active$Outbound;
}
export declare function activeToJSON(active: Active): string;
export declare function activeFromJSON(jsonString: string): SafeParseResult<Active, SDKValidationError>;
/** @internal */
export declare const Reference$inboundSchema: z.ZodType<Reference, z.ZodTypeDef, unknown>;
/** @internal */
export type Reference$Outbound = {
    active?: boolean | string | null | undefined;
    id?: string | null | undefined;
    name?: string | null | undefined;
    remote_id?: string | null | undefined;
};
/** @internal */
export declare const Reference$outboundSchema: z.ZodType<Reference$Outbound, z.ZodTypeDef, Reference>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace Reference$ {
    /** @deprecated use `Reference$inboundSchema` instead. */
    const inboundSchema: z.ZodType<Reference, z.ZodTypeDef, unknown>;
    /** @deprecated use `Reference$outboundSchema` instead. */
    const outboundSchema: z.ZodType<Reference$Outbound, z.ZodTypeDef, Reference>;
    /** @deprecated use `Reference$Outbound` instead. */
    type Outbound = Reference$Outbound;
}
export declare function referenceToJSON(reference: Reference): string;
export declare function referenceFromJSON(jsonString: string): SafeParseResult<Reference, SDKValidationError>;
//# sourceMappingURL=reference.d.ts.map