Policy: {
    createPolicy(
        policyId: string,
        policyData: PolicySkeleton,
    ): Promise<PolicySkeleton>;
    createPolicyExportTemplate(): PolicyExportInterface;
    deletePolicy(policyId: string): Promise<any>;
    exportPolicies(
        options?: PolicyExportOptions,
    ): Promise<PolicyExportInterface>;
    exportPoliciesByPolicySet(
        policySetName: string,
        options?: PolicyExportOptions,
    ): Promise<PolicyExportInterface>;
    exportPolicy(
        policyId: string,
        options?: PolicyExportOptions,
    ): Promise<PolicyExportInterface>;
    getPolicies(): Promise<PolicySkeleton[]>;
    getPoliciesByPolicySet(policySetId: string): Promise<PolicySkeleton[]>;
    getPolicy(policyId: string): Promise<PolicySkeleton>;
    importFirstPolicy(
        importData: PolicyExportInterface,
        options?: PolicyImportOptions,
    ): Promise<PolicySkeleton>;
    importPolicies(
        importData: PolicyExportInterface,
        options?: PolicyImportOptions,
    ): Promise<PolicySkeleton[]>;
    importPolicy(
        policyId: string,
        importData: PolicyExportInterface,
        options?: PolicyImportOptions,
    ): Promise<PolicySkeleton>;
    putPolicy(
        policyId: string,
        policyData: PolicySkeleton,
    ): Promise<PolicySkeleton>;
    readPolicies(): Promise<PolicySkeleton[]>;
    readPoliciesByPolicySet(policySetId: string): Promise<PolicySkeleton[]>;
    readPolicy(policyId: string): Promise<PolicySkeleton>;
    updatePolicy(
        policyId: string,
        policyData: PolicySkeleton,
    ): Promise<PolicySkeleton>;
}

Type declaration