import type { OAuthScope, ResolvedCliOptions } from './config/cli-options';
export type EffectivePermission = {
    permission: string;
    granted: 'true' | 'false' | 'condition';
    context?: Record<string, unknown>;
};
/**
 *  Get the permissions to provided scopes. Either granted true or false
 */
export declare function getEffectivePermissions(environmentUrl: string, appScopes: OAuthScope[], token: string): Promise<EffectivePermission[]>;
/**
 *  Logs a warning if some permissions are missing
 */
export declare function missingPermissionsWarning(options: ResolvedCliOptions): Promise<void>;
/** Prints a warning showing all the missing and the conditional permissions */
export declare function showEffectivePermissionWarning(permissions: EffectivePermission[]): void;
