import { IOAuthConfig } from "../interface/OAuth.interface";

// Define the types for the functions that the app will use
export type InitiateLogin = (
  provider: "google" | "microsoft" | "github",
  clientId: string,
  redirectUri: string
) => any;

export type HandleCallback = (
  provider: "google" | "microsoft" | "github",
  code: string,
  congif: IOAuthConfig
) => Promise<any>;
