import * as v from 'valibot'; import { ParcnetRPCMethodName } from './protocol.cjs'; import './schema.cjs'; import '@pcd/gpc'; import 'snarkjs'; declare class MissingPermissionError extends Error { readonly missingPermission: keyof PermissionRequest; readonly method: ParcnetRPCMethodName; constructor(missingPermission: keyof PermissionRequest, method: ParcnetRPCMethodName); } declare const PermissionRequestSchema: Omit; readonly SIGN_POD: v.ObjectSchema<{}, undefined>; readonly REQUEST_PROOF: v.ObjectSchema<{ readonly collections: v.ArraySchema, undefined>; }, undefined>; readonly READ_POD: v.ObjectSchema<{ readonly collections: v.ArraySchema, undefined>; }, undefined>; readonly INSERT_POD: v.ObjectSchema<{ readonly collections: v.ArraySchema, undefined>; }, undefined>; readonly DELETE_POD: v.ObjectSchema<{ readonly collections: v.ArraySchema, undefined>; }, undefined>; readonly SUGGEST_PODS: v.ObjectSchema<{ readonly collections: v.ArraySchema, undefined>; }, undefined>; }, undefined>, "_types" | "_run" | "entries"> & { readonly entries: { readonly READ_PUBLIC_IDENTIFIERS: v.OptionalSchema, never>; readonly SIGN_POD: v.OptionalSchema, never>; readonly REQUEST_PROOF: v.OptionalSchema, undefined>; }, undefined>, never>; readonly READ_POD: v.OptionalSchema, undefined>; }, undefined>, never>; readonly INSERT_POD: v.OptionalSchema, undefined>; }, undefined>, never>; readonly DELETE_POD: v.OptionalSchema, undefined>; }, undefined>, never>; readonly SUGGEST_PODS: v.OptionalSchema, undefined>; }, undefined>, never>; }; _run(dataset: v.Dataset, config: v.Config): v.Dataset<{ READ_PUBLIC_IDENTIFIERS?: {} | undefined; SIGN_POD?: {} | undefined; REQUEST_PROOF?: { collections: string[]; } | undefined; READ_POD?: { collections: string[]; } | undefined; INSERT_POD?: { collections: string[]; } | undefined; DELETE_POD?: { collections: string[]; } | undefined; SUGGEST_PODS?: { collections: string[]; } | undefined; }, v.ObjectIssue | v.ArrayIssue | v.StringIssue>; readonly _types?: { readonly input: { READ_PUBLIC_IDENTIFIERS?: {} | undefined; SIGN_POD?: {} | undefined; REQUEST_PROOF?: { collections: string[]; } | undefined; READ_POD?: { collections: string[]; } | undefined; INSERT_POD?: { collections: string[]; } | undefined; DELETE_POD?: { collections: string[]; } | undefined; SUGGEST_PODS?: { collections: string[]; } | undefined; }; readonly output: { READ_PUBLIC_IDENTIFIERS?: {} | undefined; SIGN_POD?: {} | undefined; REQUEST_PROOF?: { collections: string[]; } | undefined; READ_POD?: { collections: string[]; } | undefined; INSERT_POD?: { collections: string[]; } | undefined; DELETE_POD?: { collections: string[]; } | undefined; SUGGEST_PODS?: { collections: string[]; } | undefined; }; readonly issue: v.ObjectIssue | v.ArrayIssue | v.StringIssue; } | undefined; }; type PermissionRequest = v.InferOutput; export { MissingPermissionError, type PermissionRequest, PermissionRequestSchema };