import { InjectionScope, InjectionToken, Provider, ScopeBehavior, ScopeRestriction } from '@dandi/core/types'; /** * @internal * Returns `true` if {@param obj} is a {@link ScopeBehavior}; otherwise. `false` */ export declare function isScopeBehavior(obj: any): obj is ScopeBehavior; /** * @internal * Returns the {@link ScopeBehavior} of the provided {@param restriction} if it has one; otherwise, `undefined`. */ export declare function getScopeBehavior(restriction: ScopeRestriction): ScopeBehavior; /** * @internal * Returns the value of {@link InjectionOptions.restrictScope} for the specified {@link Provider} or * {@link InjectionToken}, or `undefined` if there is no scope restriction. * * Scope restrictions on an {@link InjectionToken} take precedence over those set on a {@link Provider}. */ export declare function getScopeRestriction(obj: Provider | InjectionToken): ScopeRestriction; /** * @internal * Returns the {@link InjectionScope} specified by a {@link ScopeRestriction}, if one is specified; otherwise, * `undefined`. */ export declare function getRestrictedScope(restriction: ScopeRestriction): InjectionScope; //# sourceMappingURL=scope-restriction-util.d.ts.map