encomendas-correios
Version:
Tracking of Correios packages
29 lines (28 loc) • 577 B
TypeScript
export declare const getUrl: (code: string) => string;
export declare const buildElement: (key: string, value: string) => {
key: string;
value: {
date?: undefined;
time?: undefined;
} | {
date: {
day: string;
month: string;
year: string;
};
time: {
hour: string;
minute: string;
};
};
} | {
key: string;
value: {
place: string;
city: string;
state: string;
} | undefined;
} | {
key: string;
value: string;
};