UNPKG

530 BTypeScriptView Raw
1import { SourceLocation } from '@babel/types';
2interface MessageDescriptor {
3 id: string;
4 defaultMessage?: string;
5 description?: string;
6}
7export declare type ExtractedMessageDescriptor = MessageDescriptor & Partial<SourceLocation> & {
8 file?: string;
9};
10export declare type ExtractionResult<M = Record<string, string>> = {
11 messages: ExtractedMessageDescriptor[];
12 meta: M;
13};
14declare const _default: any;
15export default _default;
16export { OptionsSchema } from './options';
17//# sourceMappingURL=index.d.ts.map
\No newline at end of file