import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Completion, Completion$Outbound } from "./completion.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
export type CompletionsPaginated = {
    data: Array<Completion>;
    next?: string | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const CompletionsPaginated$inboundSchema: z.ZodType<CompletionsPaginated, z.ZodTypeDef, unknown>;
/** @internal */
export type CompletionsPaginated$Outbound = {
    data: Array<Completion$Outbound>;
    next?: string | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const CompletionsPaginated$outboundSchema: z.ZodType<CompletionsPaginated$Outbound, z.ZodTypeDef, CompletionsPaginated>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CompletionsPaginated$ {
    /** @deprecated use `CompletionsPaginated$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CompletionsPaginated, z.ZodTypeDef, unknown>;
    /** @deprecated use `CompletionsPaginated$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CompletionsPaginated$Outbound, z.ZodTypeDef, CompletionsPaginated>;
    /** @deprecated use `CompletionsPaginated$Outbound` instead. */
    type Outbound = CompletionsPaginated$Outbound;
}
export declare function completionsPaginatedToJSON(completionsPaginated: CompletionsPaginated): string;
export declare function completionsPaginatedFromJSON(jsonString: string): SafeParseResult<CompletionsPaginated, SDKValidationError>;
//# sourceMappingURL=completionspaginated.d.ts.map