import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Wildcard indicating all resources and fields when Data Scopes is selected */ export declare const DataScopesResources2: { readonly Wildcard: "*"; }; /** * Wildcard indicating all resources and fields when Data Scopes is selected */ export type DataScopesResources2 = OpenEnum; export type DataScopesResources1 = { /** * Whether the field can be read */ read?: boolean | undefined; /** * Whether the field can be written to */ write?: boolean | undefined; }; /** * Data scopes resource configuration that can be either detailed field permissions or a wildcard */ export type DataScopesResources = { [k: string]: { [k: string]: DataScopesResources1; }; } | DataScopesResources2; /** @internal */ export declare const DataScopesResources2$inboundSchema: z.ZodType; /** @internal */ export declare const DataScopesResources2$outboundSchema: z.ZodType; /** @internal */ export declare const DataScopesResources1$inboundSchema: z.ZodType; /** @internal */ export type DataScopesResources1$Outbound = { read?: boolean | undefined; write?: boolean | undefined; }; /** @internal */ export declare const DataScopesResources1$outboundSchema: z.ZodType; export declare function dataScopesResources1ToJSON(dataScopesResources1: DataScopesResources1): string; export declare function dataScopesResources1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DataScopesResources$inboundSchema: z.ZodType; /** @internal */ export type DataScopesResources$Outbound = { [k: string]: { [k: string]: DataScopesResources1$Outbound; }; } | string; /** @internal */ export declare const DataScopesResources$outboundSchema: z.ZodType; export declare function dataScopesResourcesToJSON(dataScopesResources: DataScopesResources): string; export declare function dataScopesResourcesFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=datascopesresources.d.ts.map