mirror of
https://github.com/imezx/Warp.git
synced 2025-04-24 23:20:02 +00:00
16 lines
686 B
TypeScript
16 lines
686 B
TypeScript
import type { ScreenStateProps } from './ScreenState';
|
|
import type { InternalDocSearchHit } from './types';
|
|
export declare type StartScreenTranslations = Partial<{
|
|
recentSearchesTitle: string;
|
|
noRecentSearchesText: string;
|
|
saveRecentSearchButtonTitle: string;
|
|
removeRecentSearchButtonTitle: string;
|
|
favoriteSearchesTitle: string;
|
|
removeFavoriteSearchButtonTitle: string;
|
|
}>;
|
|
declare type StartScreenProps = Omit<ScreenStateProps<InternalDocSearchHit>, 'translations'> & {
|
|
hasCollections: boolean;
|
|
translations?: StartScreenTranslations;
|
|
};
|
|
export declare function StartScreen({ translations, ...props }: StartScreenProps): JSX.Element | null;
|
|
export {};
|