import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as UserPolicyChecksAPI from 'cloudflaredev/resources/zero-trust/access/applications/user-policy-checks';
import * as ApplicationsAPI from 'cloudflaredev/resources/zero-trust/access/applications/applications';
export declare class UserPolicyChecks extends APIResource {
    /**
     * Tests if a specific user has permission to access an application.
     */
    list(appId: ApplicationsAPI.AppIDParam, params?: UserPolicyCheckListParams, options?: Core.RequestOptions): Core.APIPromise<UserPolicyCheckListResponse>;
    list(appId: ApplicationsAPI.AppIDParam, options?: Core.RequestOptions): Core.APIPromise<UserPolicyCheckListResponse>;
}
export interface UserPolicyCheckGeo {
    country?: string;
}
export interface UserPolicyCheckListResponse {
    app_state?: UserPolicyCheckListResponse.AppState;
    user_identity?: UserPolicyCheckListResponse.UserIdentity;
}
export declare namespace UserPolicyCheckListResponse {
    interface AppState {
        /**
         * UUID
         */
        app_uid?: string;
        aud?: string;
        hostname?: string;
        name?: string;
        policies?: Array<unknown>;
        status?: string;
    }
    interface UserIdentity {
        id?: string;
        account_id?: string;
        device_sessions?: unknown;
        email?: string;
        geo?: UserPolicyChecksAPI.UserPolicyCheckGeo;
        iat?: number;
        is_gateway?: boolean;
        is_warp?: boolean;
        name?: string;
        /**
         * UUID
         */
        user_uuid?: string;
        version?: number;
    }
}
export interface UserPolicyCheckListParams {
    /**
     * The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
     */
    account_id?: string;
    /**
     * The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
     */
    zone_id?: string;
}
export declare namespace UserPolicyChecks {
    export import UserPolicyCheckGeo = UserPolicyChecksAPI.UserPolicyCheckGeo;
    export import UserPolicyCheckListResponse = UserPolicyChecksAPI.UserPolicyCheckListResponse;
    export import UserPolicyCheckListParams = UserPolicyChecksAPI.UserPolicyCheckListParams;
}
//# sourceMappingURL=user-policy-checks.d.ts.map