11 lines
342 B
TypeScript
11 lines
342 B
TypeScript
type tipoPostValidarTokem = {
|
|
token: string;
|
|
};
|
|
import type { z } from "zod";
|
|
import type { zAmbiente } from "../ts/ambiente";
|
|
/** faz a validação do token */
|
|
export declare const validarToken: ({ ambiente, post, }: {
|
|
ambiente: z.infer<typeof zAmbiente>;
|
|
post: tipoPostValidarTokem;
|
|
}) => Promise<"valido" | "erro">;
|
|
export {};
|