/** * GET /organisations/{id}/consumers * GET /self/consumers */ export declare function getAll(params: { id?: string; }): Promise<{ method: string; url: string; headers: { Accept: string; }; }>; /** * POST /organisations/{id}/consumers * POST /self/consumers */ export declare function create(params: { id?: string; }, body: object): Promise<{ method: string; url: string; headers: { Accept: string; 'Content-Type': string; }; body: object; }>; /** * DELETE /organisations/{id}/consumers/{key} * DELETE /self/consumers/{key} */ export declare function remove(params: { id?: string; key: string; }): Promise<{ method: string; url: string; headers: { Accept: string; }; }>; /** * GET /organisations/{id}/consumers/{key} * GET /self/consumers/{key} */ export declare function get(params: { id?: string; key: string; }): Promise<{ method: string; url: string; headers: { Accept: string; }; }>; /** * PUT /organisations/{id}/consumers/{key} * PUT /self/consumers/{key} */ export declare function update(params: { id?: string; key: string; }, body: object): Promise<{ method: string; url: string; headers: { Accept: string; 'Content-Type': string; }; body: object; }>; /** * GET /organisations/{id}/consumers/{key}/secret * GET /self/consumers/{key}/secret */ export declare function getSecret(params: { id?: string; key: string; }): Promise<{ method: string; url: string; headers: { Accept: string; }; }>; //# sourceMappingURL=oauth-consumer.d.ts.map