default: {
    get: (id: string, data: string[]) => Promise<ILink>;
    process: (
        id: string,
        data?: { email: string; password: string },
    ) => Promise<void>;
} = ...

Type declaration

  • get: (id: string, data: string[]) => Promise<ILink>
  • process: (id: string, data?: { email: string; password: string }) => Promise<void>