import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { StreamConfig, StreamConfig$Outbound } from "./streamconfig.js";
export type CreateStreamRequest = {
    config?: StreamConfig | null | undefined;
    /**
     * Stream name that is unique to the basin.
     *
     * @remarks
     * It can be between 1 and 512 bytes in length.
     */
    stream: string;
};
/** @internal */
export declare const CreateStreamRequest$inboundSchema: z.ZodType<CreateStreamRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateStreamRequest$Outbound = {
    config?: StreamConfig$Outbound | null | undefined;
    stream: string;
};
/** @internal */
export declare const CreateStreamRequest$outboundSchema: z.ZodType<CreateStreamRequest$Outbound, z.ZodTypeDef, CreateStreamRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace CreateStreamRequest$ {
    /** @deprecated use `CreateStreamRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<CreateStreamRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `CreateStreamRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<CreateStreamRequest$Outbound, z.ZodTypeDef, CreateStreamRequest>;
    /** @deprecated use `CreateStreamRequest$Outbound` instead. */
    type Outbound = CreateStreamRequest$Outbound;
}
export declare function createStreamRequestToJSON(createStreamRequest: CreateStreamRequest): string;
export declare function createStreamRequestFromJSON(jsonString: string): SafeParseResult<CreateStreamRequest, SDKValidationError>;
//# sourceMappingURL=createstreamrequest.d.ts.map