/**
 * @category Service Module
 * @name /services/trouble
 * @version 1.0.0
 * @author Mark Pomerant <mpomerant@coca-cola.com>
 *
 * Services that can be invoked to perform operations on Troubles
 */
/**
 * The response from the server when an organization is
 * created or updated
 */
export interface TroubleResponse {
    /** the id of the Trouble */
    id: string;
    /** the name of the Trouble */
    name: string;
}
export interface TroubleRequest {
    /** the name of the Trouble to create */
    name: string;
}
/**
 * @category Service
 * Retrieves the list of Troubles.
 */
export declare const getTroubles: () => Promise<import('../../../core').KosServiceResponse<TroubleResponse[]> | undefined>;
/**
 * Adds a new Trouble.
 *
 *
 * While the immediate response to the request is empty, and additions will be broadcast
 * to all interested listeners on the `/api/troubles/add` event channel.
 *
 * @param organization - the organization to be added
 * @returns an empty response with status 200.
 */
export declare const addTrouble: (trouble: TroubleRequest) => Promise<import('../../../core').KosServiceResponse<any> | undefined>;
/**
 * Removes an Trouble based on the id.
 *
 * While the immediate response to the request is empty, and additions will be broadcast
 * to all interested listeners on the `/api/troubles/delete` event channel.
 *
 * @param troubleId - the id of the Trouble to be deleted
 * @returns an empty response with status 200.
 */
export declare const deleteTrouble: (id: string) => Promise<import('../../../core').KosServiceResponse<unknown> | undefined>;
/**
 * Modifies an Trouble from the server based on the id.
 *
 * While the immediate response to the request is empty, and additions will be broadcast
 * to all interested listeners on the `/api/troubles/update` event channel.
 *
 * @param id - the id of the Trouble to be modified
 * @returns an empty response with status 200.
 */
export declare const modifyTrouble: (id: string, model: TroubleRequest) => Promise<import('../../../core').KosServiceResponse<any> | undefined>;
//# sourceMappingURL=index.d.ts.map