theme-lib
Version:
This is a simple example Angular Library published to npm.
22 lines (21 loc) • 648 B
TypeScript
import { Observable } from 'rxjs';
export declare class NbSearchService {
private searchSubmittings$;
private searchActivations$;
private searchDeactivations$;
activateSearch(searchType: string, tag?: string): void;
deactivateSearch(searchType: string, tag?: string): void;
submitSearch(term: string, tag?: string): void;
onSearchActivate(): Observable<{
searchType: string;
tag?: string;
}>;
onSearchDeactivate(): Observable<{
searchType: string;
tag?: string;
}>;
onSearchSubmit(): Observable<{
term: string;
tag?: string;
}>;
}