import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Operation } from "./operation.js";
import { PermittedOperationGroups, PermittedOperationGroups$Outbound } from "./permittedoperationgroups.js";
import { ResourceSet, ResourceSet$Outbound } from "./resourceset.js";
export type AccessTokenScope = {
    accessTokens?: ResourceSet | null | undefined;
    basins?: ResourceSet | null | undefined;
    opGroups?: PermittedOperationGroups | null | undefined;
    /**
     * Operations allowed for the token.
     *
     * @remarks
     * A union of allowed operations and groups is used as an effective set of allowed operations.
     */
    ops?: Array<Operation> | null | undefined;
    streams?: ResourceSet | null | undefined;
};
/** @internal */
export declare const AccessTokenScope$inboundSchema: z.ZodType<AccessTokenScope, z.ZodTypeDef, unknown>;
/** @internal */
export type AccessTokenScope$Outbound = {
    access_tokens?: ResourceSet$Outbound | null | undefined;
    basins?: ResourceSet$Outbound | null | undefined;
    op_groups?: PermittedOperationGroups$Outbound | null | undefined;
    ops?: Array<string> | null | undefined;
    streams?: ResourceSet$Outbound | null | undefined;
};
/** @internal */
export declare const AccessTokenScope$outboundSchema: z.ZodType<AccessTokenScope$Outbound, z.ZodTypeDef, AccessTokenScope>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace AccessTokenScope$ {
    /** @deprecated use `AccessTokenScope$inboundSchema` instead. */
    const inboundSchema: z.ZodType<AccessTokenScope, z.ZodTypeDef, unknown>;
    /** @deprecated use `AccessTokenScope$outboundSchema` instead. */
    const outboundSchema: z.ZodType<AccessTokenScope$Outbound, z.ZodTypeDef, AccessTokenScope>;
    /** @deprecated use `AccessTokenScope$Outbound` instead. */
    type Outbound = AccessTokenScope$Outbound;
}
export declare function accessTokenScopeToJSON(accessTokenScope: AccessTokenScope): string;
export declare function accessTokenScopeFromJSON(jsonString: string): SafeParseResult<AccessTokenScope, SDKValidationError>;
//# sourceMappingURL=accesstokenscope.d.ts.map