teko-file-history
Version:
File history component for Teko system
12 lines (11 loc) • 650 B
TypeScript
import { AxiosError } from 'axios';
import { StoreContextType } from 'src/context';
import { ClientConfig, FileHistoryProps } from '../types';
declare const _default: {
formatUnixTime: (time: number, format?: string | undefined) => string;
getConfigs: (componentConfig: FileHistoryProps, clientConfig: ClientConfig) => StoreContextType;
handleResponseError: (error: AxiosError<unknown, any>, translate: (key: string) => string) => void;
missingSetUpNotification: (description: string) => void;
getAcceptLanguage: (language: string) => "en-US" | "vi" | "fr" | "id" | "km" | "ms" | "zh-Hans";
};
export default _default;