import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ReadWritePermissions = {
    /**
     * Read permission.
     */
    read?: boolean | undefined;
    /**
     * Write permission.
     */
    write?: boolean | undefined;
};
/** @internal */
export declare const ReadWritePermissions$inboundSchema: z.ZodType<ReadWritePermissions, z.ZodTypeDef, unknown>;
/** @internal */
export type ReadWritePermissions$Outbound = {
    read: boolean;
    write: boolean;
};
/** @internal */
export declare const ReadWritePermissions$outboundSchema: z.ZodType<ReadWritePermissions$Outbound, z.ZodTypeDef, ReadWritePermissions>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ReadWritePermissions$ {
    /** @deprecated use `ReadWritePermissions$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ReadWritePermissions, z.ZodTypeDef, unknown>;
    /** @deprecated use `ReadWritePermissions$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ReadWritePermissions$Outbound, z.ZodTypeDef, ReadWritePermissions>;
    /** @deprecated use `ReadWritePermissions$Outbound` instead. */
    type Outbound = ReadWritePermissions$Outbound;
}
export declare function readWritePermissionsToJSON(readWritePermissions: ReadWritePermissions): string;
export declare function readWritePermissionsFromJSON(jsonString: string): SafeParseResult<ReadWritePermissions, SDKValidationError>;
//# sourceMappingURL=readwritepermissions.d.ts.map