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 declare const AppendServerList: readonly ["https://{basin}.b.aws.s2.dev/v1alpha"];
/**
 * json: utf-8 plaintext data.
 *
 * @remarks
 * json-binsafe: base64 encoded binary data.
 */
export type HeaderS2Format = components.FormatOption;
export type AppendRequest = {
    /**
     * json: utf-8 plaintext data.
     *
     * @remarks
     * json-binsafe: base64 encoded binary data.
     */
    s2Format?: components.FormatOption | undefined;
    /**
     * Name of the stream.
     */
    stream: string;
    appendInput: components.AppendInput;
};
/** @internal */
export declare const HeaderS2Format$inboundSchema: z.ZodType<HeaderS2Format, z.ZodTypeDef, unknown>;
/** @internal */
export type HeaderS2Format$Outbound = string;
/** @internal */
export declare const HeaderS2Format$outboundSchema: z.ZodType<HeaderS2Format$Outbound, z.ZodTypeDef, HeaderS2Format>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace HeaderS2Format$ {
    /** @deprecated use `HeaderS2Format$inboundSchema` instead. */
    const inboundSchema: z.ZodType<components.FormatOption, z.ZodTypeDef, unknown>;
    /** @deprecated use `HeaderS2Format$outboundSchema` instead. */
    const outboundSchema: z.ZodType<string, z.ZodTypeDef, components.FormatOption>;
    /** @deprecated use `HeaderS2Format$Outbound` instead. */
    type Outbound = HeaderS2Format$Outbound;
}
export declare function headerS2FormatToJSON(headerS2Format: HeaderS2Format): string;
export declare function headerS2FormatFromJSON(jsonString: string): SafeParseResult<HeaderS2Format, SDKValidationError>;
/** @internal */
export declare const AppendRequest$inboundSchema: z.ZodType<AppendRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type AppendRequest$Outbound = {
    "s2-format"?: string | undefined;
    stream: string;
    AppendInput: components.AppendInput$Outbound;
};
/** @internal */
export declare const AppendRequest$outboundSchema: z.ZodType<AppendRequest$Outbound, z.ZodTypeDef, AppendRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AppendRequest$ {
    /** @deprecated use `AppendRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AppendRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `AppendRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AppendRequest$Outbound, z.ZodTypeDef, AppendRequest>;
    /** @deprecated use `AppendRequest$Outbound` instead. */
    type Outbound = AppendRequest$Outbound;
}
export declare function appendRequestToJSON(appendRequest: AppendRequest): string;
export declare function appendRequestFromJSON(jsonString: string): SafeParseResult<AppendRequest, SDKValidationError>;
//# sourceMappingURL=append.d.ts.map