import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetResourceRequest = {
    /**
     * The sourcedId of the resource
     */
    sourcedId: string;
};
/**
 * Successful response with the resource
 */
export type GetResourceResponse = {
    /**
     * Represents a digital resource of some kind.
     */
    resource: components.Resource;
};
/** @internal */
export declare const GetResourceRequest$inboundSchema: z.ZodType<GetResourceRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourceRequest$Outbound = {
    sourcedId: string;
};
/** @internal */
export declare const GetResourceRequest$outboundSchema: z.ZodType<GetResourceRequest$Outbound, z.ZodTypeDef, GetResourceRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourceRequest$ {
    /** @deprecated use `GetResourceRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourceRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourceRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourceRequest$Outbound, z.ZodTypeDef, GetResourceRequest>;
    /** @deprecated use `GetResourceRequest$Outbound` instead. */
    type Outbound = GetResourceRequest$Outbound;
}
export declare function getResourceRequestToJSON(getResourceRequest: GetResourceRequest): string;
export declare function getResourceRequestFromJSON(jsonString: string): SafeParseResult<GetResourceRequest, SDKValidationError>;
/** @internal */
export declare const GetResourceResponse$inboundSchema: z.ZodType<GetResourceResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetResourceResponse$Outbound = {
    resource: components.Resource$Outbound;
};
/** @internal */
export declare const GetResourceResponse$outboundSchema: z.ZodType<GetResourceResponse$Outbound, z.ZodTypeDef, GetResourceResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetResourceResponse$ {
    /** @deprecated use `GetResourceResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetResourceResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetResourceResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetResourceResponse$Outbound, z.ZodTypeDef, GetResourceResponse>;
    /** @deprecated use `GetResourceResponse$Outbound` instead. */
    type Outbound = GetResourceResponse$Outbound;
}
export declare function getResourceResponseToJSON(getResourceResponse: GetResourceResponse): string;
export declare function getResourceResponseFromJSON(jsonString: string): SafeParseResult<GetResourceResponse, SDKValidationError>;
//# sourceMappingURL=getresource.d.ts.map