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 UpdateResourceStatus: {
    readonly Active: "active";
    readonly Tobedeleted: "tobedeleted";
};
export type UpdateResourceStatus = ClosedEnum<typeof UpdateResourceStatus>;
export declare const UpdateResourceRole: {
    readonly Primary: "primary";
    readonly Secondary: "secondary";
};
export type UpdateResourceRole = ClosedEnum<typeof UpdateResourceRole>;
export declare const UpdateResourceImportance: {
    readonly Primary: "primary";
    readonly Secondary: "secondary";
};
export type UpdateResourceImportance = ClosedEnum<typeof UpdateResourceImportance>;
export type UpdateResourceResource = {
    sourcedId?: string | undefined;
    status?: UpdateResourceStatus | undefined;
    dateLastModified?: Date | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    title: string;
    roles?: Array<UpdateResourceRole> | undefined;
    importance?: UpdateResourceImportance | undefined;
    vendorResourceId: string;
    vendorId?: string | undefined;
    applicationId?: string | undefined;
};
export type UpdateResourceRequestBody = {
    resource: UpdateResourceResource;
};
export type UpdateResourceRequest = {
    /**
     * The sourcedId of the resource to update
     */
    sourcedId: string;
    requestBody: UpdateResourceRequestBody;
};
/** @internal */
export declare const UpdateResourceStatus$inboundSchema: z.ZodNativeEnum<typeof UpdateResourceStatus>;
/** @internal */
export declare const UpdateResourceStatus$outboundSchema: z.ZodNativeEnum<typeof UpdateResourceStatus>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceStatus$ {
    /** @deprecated use `UpdateResourceStatus$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
    /** @deprecated use `UpdateResourceStatus$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Active: "active";
        readonly Tobedeleted: "tobedeleted";
    }>;
}
/** @internal */
export declare const UpdateResourceRole$inboundSchema: z.ZodNativeEnum<typeof UpdateResourceRole>;
/** @internal */
export declare const UpdateResourceRole$outboundSchema: z.ZodNativeEnum<typeof UpdateResourceRole>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceRole$ {
    /** @deprecated use `UpdateResourceRole$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
    /** @deprecated use `UpdateResourceRole$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
}
/** @internal */
export declare const UpdateResourceImportance$inboundSchema: z.ZodNativeEnum<typeof UpdateResourceImportance>;
/** @internal */
export declare const UpdateResourceImportance$outboundSchema: z.ZodNativeEnum<typeof UpdateResourceImportance>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceImportance$ {
    /** @deprecated use `UpdateResourceImportance$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
    /** @deprecated use `UpdateResourceImportance$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Primary: "primary";
        readonly Secondary: "secondary";
    }>;
}
/** @internal */
export declare const UpdateResourceResource$inboundSchema: z.ZodType<UpdateResourceResource, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResourceResource$Outbound = {
    sourcedId?: string | undefined;
    status?: string | undefined;
    dateLastModified?: string | undefined;
    metadata?: {
        [k: string]: any;
    } | null | undefined;
    title: string;
    roles?: Array<string> | undefined;
    importance?: string | undefined;
    vendorResourceId: string;
    vendorId?: string | undefined;
    applicationId?: string | undefined;
};
/** @internal */
export declare const UpdateResourceResource$outboundSchema: z.ZodType<UpdateResourceResource$Outbound, z.ZodTypeDef, UpdateResourceResource>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceResource$ {
    /** @deprecated use `UpdateResourceResource$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResourceResource, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResourceResource$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResourceResource$Outbound, z.ZodTypeDef, UpdateResourceResource>;
    /** @deprecated use `UpdateResourceResource$Outbound` instead. */
    type Outbound = UpdateResourceResource$Outbound;
}
export declare function updateResourceResourceToJSON(updateResourceResource: UpdateResourceResource): string;
export declare function updateResourceResourceFromJSON(jsonString: string): SafeParseResult<UpdateResourceResource, SDKValidationError>;
/** @internal */
export declare const UpdateResourceRequestBody$inboundSchema: z.ZodType<UpdateResourceRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResourceRequestBody$Outbound = {
    resource: UpdateResourceResource$Outbound;
};
/** @internal */
export declare const UpdateResourceRequestBody$outboundSchema: z.ZodType<UpdateResourceRequestBody$Outbound, z.ZodTypeDef, UpdateResourceRequestBody>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceRequestBody$ {
    /** @deprecated use `UpdateResourceRequestBody$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResourceRequestBody, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResourceRequestBody$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResourceRequestBody$Outbound, z.ZodTypeDef, UpdateResourceRequestBody>;
    /** @deprecated use `UpdateResourceRequestBody$Outbound` instead. */
    type Outbound = UpdateResourceRequestBody$Outbound;
}
export declare function updateResourceRequestBodyToJSON(updateResourceRequestBody: UpdateResourceRequestBody): string;
export declare function updateResourceRequestBodyFromJSON(jsonString: string): SafeParseResult<UpdateResourceRequestBody, SDKValidationError>;
/** @internal */
export declare const UpdateResourceRequest$inboundSchema: z.ZodType<UpdateResourceRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type UpdateResourceRequest$Outbound = {
    sourcedId: string;
    RequestBody: UpdateResourceRequestBody$Outbound;
};
/** @internal */
export declare const UpdateResourceRequest$outboundSchema: z.ZodType<UpdateResourceRequest$Outbound, z.ZodTypeDef, UpdateResourceRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace UpdateResourceRequest$ {
    /** @deprecated use `UpdateResourceRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<UpdateResourceRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `UpdateResourceRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<UpdateResourceRequest$Outbound, z.ZodTypeDef, UpdateResourceRequest>;
    /** @deprecated use `UpdateResourceRequest$Outbound` instead. */
    type Outbound = UpdateResourceRequest$Outbound;
}
export declare function updateResourceRequestToJSON(updateResourceRequest: UpdateResourceRequest): string;
export declare function updateResourceRequestFromJSON(jsonString: string): SafeParseResult<UpdateResourceRequest, SDKValidationError>;
//# sourceMappingURL=updateresource.d.ts.map