import { Observable } from 'rxjs'; /** * Interface defining options for customizing button behavior during API calls. */ interface ObserveApiOptions { /** * Optional text to display on the button while the API call is in progress. * Defaults to disabling the button visually if not provided. */ inProgress?: string; hideLoader?: boolean; } /** * RxJS operator that manages the state of a button element during asynchronous operations. * * @param target The DOM element (typically a button) to manage state for. * @param options Configuration options for button behavior. * @returns An operator function that can be piped into an Observable. */ export declare function ObserveApiStatus(target: any, options?: ObserveApiOptions): (source: Observable) => Observable; export {};