import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Agreement, Agreement$Outbound } from "./agreement.js";
import { ResponseMetadata, ResponseMetadata$Outbound } from "./responsemetadata.js";
/**
 * A collection of agreements.
 */
export type AgreementsResponse = {
    /**
     * A list of agreements
     */
    data?: Array<Agreement> | undefined;
    /**
     * Control information and metadata for the response.
     */
    responseMetadata?: ResponseMetadata | undefined;
};
/** @internal */
export declare const AgreementsResponse$inboundSchema: z.ZodType<AgreementsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type AgreementsResponse$Outbound = {
    data?: Array<Agreement$Outbound> | undefined;
    response_metadata?: ResponseMetadata$Outbound | undefined;
};
/** @internal */
export declare const AgreementsResponse$outboundSchema: z.ZodType<AgreementsResponse$Outbound, z.ZodTypeDef, AgreementsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AgreementsResponse$ {
    /** @deprecated use `AgreementsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AgreementsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `AgreementsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AgreementsResponse$Outbound, z.ZodTypeDef, AgreementsResponse>;
    /** @deprecated use `AgreementsResponse$Outbound` instead. */
    type Outbound = AgreementsResponse$Outbound;
}
export declare function agreementsResponseToJSON(agreementsResponse: AgreementsResponse): string;
export declare function agreementsResponseFromJSON(jsonString: string): SafeParseResult<AgreementsResponse, SDKValidationError>;
//# sourceMappingURL=agreementsresponse.d.ts.map