import { Basic, EndpointService } from "../types"; /** * Class to manage and expose all endpoits and operations below '/rest/api/1.0/hooks' */ export declare class HooksEndpoint extends EndpointService { /** * Contains all operations related with hooks avatar * All paths and operations from '/rest/api/1.0/hooks/{hookKey}/avatar'. * @returns {HookAvatarEndpoint} Get all operations about hooks avatar */ avatar: (hookKey: string) => HookAvatarEndpoint; constructor(auth: Basic); } /** * Class to manage and expose all endpoits and operations below '/rest/api/1.0/hooks/{hookKey}/avatar' */ export declare class HookAvatarEndpoint extends EndpointService { constructor(auth: Basic, hookKey: string); /** * Retrieve the avatar for the hook matching the supplied hookKey * @param {number} [version] Optional version used for HTTP caching only - any non-blank version will result in a large max-age Cache-Control header. Note that this does not affect the Last-Modified header. * @returns {Promise} Promise with the image data */ get(version?: number): Promise; }