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 BasinConfig = {
    /**
     * Create stream on append if it doesn't exist, using the default stream configuration.
     */
    createStreamOnAppend?: boolean | undefined;
    /**
     * Create stream on read if it doesn't exist, using the default stream configuration.
     */
    createStreamOnRead?: boolean | undefined;
    defaultStreamConfig?: StreamConfig | null | undefined;
};
/** @internal */
export declare const BasinConfig$inboundSchema: z.ZodType<BasinConfig, z.ZodTypeDef, unknown>;
/** @internal */
export type BasinConfig$Outbound = {
    create_stream_on_append?: boolean | undefined;
    create_stream_on_read?: boolean | undefined;
    default_stream_config?: StreamConfig$Outbound | null | undefined;
};
/** @internal */
export declare const BasinConfig$outboundSchema: z.ZodType<BasinConfig$Outbound, z.ZodTypeDef, BasinConfig>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace BasinConfig$ {
    /** @deprecated use `BasinConfig$inboundSchema` instead. */
    const inboundSchema: z.ZodType<BasinConfig, z.ZodTypeDef, unknown>;
    /** @deprecated use `BasinConfig$outboundSchema` instead. */
    const outboundSchema: z.ZodType<BasinConfig$Outbound, z.ZodTypeDef, BasinConfig>;
    /** @deprecated use `BasinConfig$Outbound` instead. */
    type Outbound = BasinConfig$Outbound;
}
export declare function basinConfigToJSON(basinConfig: BasinConfig): string;
export declare function basinConfigFromJSON(jsonString: string): SafeParseResult<BasinConfig, SDKValidationError>;
//# sourceMappingURL=basinconfig.d.ts.map