import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Company, Company$Outbound } from "./company.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type CompaniesPaginated = {
    data: Array<Company>;
    next?: string | null | undefined;
    /**
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    nextPage?: string | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const CompaniesPaginated$inboundSchema: z.ZodType<CompaniesPaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type CompaniesPaginated$Outbound = {
    data: Array<Company$Outbound>;
    next?: string | null | undefined;
    next_page?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const CompaniesPaginated$outboundSchema: z.ZodType<CompaniesPaginated$Outbound, z.ZodTypeDef, CompaniesPaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CompaniesPaginated$ {
    /** @deprecated use `CompaniesPaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CompaniesPaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `CompaniesPaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CompaniesPaginated$Outbound, z.ZodTypeDef, CompaniesPaginated>;
    /** @deprecated use `CompaniesPaginated$Outbound` instead. */
    type Outbound = CompaniesPaginated$Outbound;
}
export declare function companiesPaginatedToJSON(companiesPaginated: CompaniesPaginated): string;
export declare function companiesPaginatedFromJSON(jsonString: string): SafeParseResult<CompaniesPaginated, SDKValidationError>;
//# sourceMappingURL=companiespaginated.d.ts.map