import { NotLoggedInError, UnauthorizedError } from "effect-app/client"; import * as Context from "effect-app/Context"; import * as Effect from "effect-app/Effect"; import * as Layer from "effect-app/Layer"; import * as RpcX from "effect-app/rpc"; import { RpcContextMap } from "effect-app/rpc"; import * as S from "effect-app/Schema"; declare const UserProfile_base: S.EnhancedClass & { withConstructorDefault: S.withConstructorDefault>; withDecodingDefaultType: S.withDecodingDefaultType>; }; }>, {}> & Context.Opaque; export declare class UserProfile extends UserProfile_base { } declare const Some_base: Context.OpaqueClass & { readonly make: Effect.Effect<{ a: number; }, never, never>; }; export declare class Some extends Some_base { } declare const SomeElse_base: Context.OpaqueClass & { readonly make: Effect.Effect<{ b: number; }, never, never>; }; export declare class SomeElse extends SomeElse_base { } declare const SomeService_base: Context.OpaqueClass & { readonly make: Effect.Effect<{ a: number; }, never, never>; }; export declare class SomeService extends SomeService_base { static readonly Default: Layer.Layer; } declare const SomeMiddleware_base: RpcX.RpcMiddleware.TagClass; export declare class SomeMiddleware extends SomeMiddleware_base { } export declare const SomeMiddlewareLive: Layer.Layer; declare const SomeElseMiddleware_base: RpcX.RpcMiddleware.TagClass; export declare class SomeElseMiddleware extends SomeElseMiddleware_base { } export declare const SomeElseMiddlewareLive: Layer.Layer; declare const RequestContextMap_base: (new () => { readonly config: { readonly allowAnonymous: RpcContextMap.RpcContextMap.Inverted; readonly requireRoles: RpcContextMap.RpcContextMap.Custom; readonly test: RpcContextMap.RpcContextMap; }; }) & { config: { readonly allowAnonymous: RpcContextMap.RpcContextMap.Inverted; readonly requireRoles: RpcContextMap.RpcContextMap.Custom; readonly test: RpcContextMap.RpcContextMap; }; getConfig: (rpc: import("effect/unstable/rpc/Rpc").AnyWithProps) => RpcContextMap.GetContextConfig<{ readonly allowAnonymous: RpcContextMap.RpcContextMap.Inverted; readonly requireRoles: RpcContextMap.RpcContextMap.Custom; readonly test: RpcContextMap.RpcContextMap; }>; get: (key: Key) => RpcX.RpcMiddleware.RpcDynamic; readonly requireRoles: RpcContextMap.RpcContextMap.Custom; readonly test: RpcContextMap.RpcContextMap; }[Key]>; }; export declare class RequestContextMap extends RequestContextMap_base { } declare const AllowAnonymous_base: RpcX.RpcMiddleware.TagClass>; }, { requires: SomeElse; }>; export declare class AllowAnonymous extends AllowAnonymous_base { } export declare const AllowAnonymousLive: Layer.Layer; declare const RequireRoles_base: RpcX.RpcMiddleware.TagClass>; readonly dependsOn: readonly [typeof AllowAnonymous]; }, { requires: never; provides: never; }>; export declare class RequireRoles extends RequireRoles_base { } export declare const RequireRolesLive: Layer.Layer; declare const Test_base: RpcX.RpcMiddleware.TagClass>; }, { requires: never; provides: never; }>; export declare class Test extends Test_base { } export declare const TestLive: Layer.Layer; declare const Counter_base: Context.OpaqueClass & { readonly make: Effect.Effect<{ a: number; }, never, never>; }; export declare class Counter extends Counter_base { } declare const CustomError1_base: S.EnhancedClass; }>, import("effect/Cause").YieldableError>; export declare class CustomError1 extends CustomError1_base { } declare const CustomError2_base: S.EnhancedClass; }>, import("effect/Cause").YieldableError>; export declare class CustomError2 extends CustomError2_base { } export {}; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZml4dHVyZXMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL2ZpeHR1cmVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFBO0FBQ3ZFLE9BQU8sS0FBSyxPQUFPLE1BQU0sb0JBQW9CLENBQUE7QUFDN0MsT0FBTyxLQUFLLE1BQU0sTUFBTSxtQkFBbUIsQ0FBQTtBQUMzQyxPQUFPLEtBQUssS0FBSyxNQUFNLGtCQUFrQixDQUFBO0FBQ3pDLE9BQU8sS0FBSyxJQUFJLE1BQU0sZ0JBQWdCLENBQUE7QUFDdEMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGdCQ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