import { BadRequestError, EntityNotFoundError } from '../Foundations';
import { Policy, PolicyControl } from './types';
export declare type CreatePolicySuccess = Policy;
export declare type CreatePolicyError = {
    error: BadRequestError;
};
export declare type CreatePolicyResponse = CreatePolicySuccess | CreatePolicyError;
export declare type UpdatePolicySuccess = Policy;
export declare type UpdatePolicyError = {
    error: BadRequestError | EntityNotFoundError;
};
export declare type UpdatePolicyResponse = UpdatePolicySuccess | UpdatePolicyError;
export declare type GetPolicyByIdSuccess = Policy;
export declare type GetPolicyByIdError = {
    error: EntityNotFoundError;
};
export declare type GetPolicyByIdResponse = GetPolicyByIdSuccess | GetPolicyByIdError;
export declare type ListPoliciesSuccess = {
    items: Policy[];
};
export declare type ListPoliciesError = {
    error: any;
};
export declare type ListPoliciesResponse = ListPoliciesSuccess | ListPoliciesError;
export declare type ArchivePolicySuccess = Policy;
export declare type ArchivePolicyError = {
    error: EntityNotFoundError;
};
export declare type ArchivePolicyResponse = ArchivePolicySuccess | ArchivePolicyError;
export declare type CreatePolicyControlSuccess = PolicyControl;
export declare type CreatePolicyControlError = {
    error: BadRequestError;
};
export declare type CreatePolicyControlResponse = CreatePolicyControlSuccess | CreatePolicyControlError;
export declare type UpdatePolicyControlSuccess = PolicyControl;
export declare type UpdatePolicyControlError = {
    error: BadRequestError | EntityNotFoundError;
};
export declare type UpdatePolicyControlResponse = UpdatePolicyControlSuccess | UpdatePolicyControlError;
export declare type GetPolicyControlByIdSuccess = PolicyControl;
export declare type GetPolicyControlByIdError = {
    error: EntityNotFoundError;
};
export declare type GetPolicyControlByIdResponse = GetPolicyControlByIdSuccess | GetPolicyControlByIdError;
export declare type ListPolicyControlsSuccess = {
    items: PolicyControl[];
};
export declare type ListPolicyControlsError = {
    error: any;
};
export declare type ListPolicyControlsResponse = ListPolicyControlsSuccess | ListPolicyControlsError;
export declare type ArchivePolicyControlSuccess = PolicyControl;
export declare type ArchivePolicyControlError = {
    error: EntityNotFoundError;
};
export declare type ArchivePolicyControlResponse = ArchivePolicyControlSuccess | ArchivePolicyControlError;
export declare type CreatePolicyRuleSuccess = Policy;
export declare type CreatePolicyRuleError = {
    error: BadRequestError;
};
export declare type CreatePolicyRuleResponse = CreatePolicyRuleSuccess | CreatePolicyRuleError;
export declare type UpdatePolicyRuleSuccess = Policy;
export declare type UpdatePolicyRuleError = {
    error: BadRequestError | EntityNotFoundError;
};
export declare type UpdatePolicyRuleResponse = UpdatePolicyRuleSuccess | UpdatePolicyRuleError;
export declare type GetPolicyRuleByIdSuccess = Policy;
export declare type GetPolicyRuleByIdError = {
    error: EntityNotFoundError;
};
export declare type GetPolicyRuleByIdResponse = GetPolicyRuleByIdSuccess | GetPolicyRuleByIdError;
export declare type ListPolicyRulesSuccess = {
    items: Policy[];
};
export declare type ListPolicyRulesError = {
    error: any;
};
export declare type ListPolicyRulesResponse = ListPolicyRulesSuccess | ListPolicyRulesError;
export declare type ArchivePolicyRuleSuccess = Policy;
export declare type ArchivePolicyRuleError = {
    error: EntityNotFoundError;
};
export declare type ArchivePolicyRuleResponse = ArchivePolicyRuleSuccess | ArchivePolicyRuleError;
