23 lines
346 B
TypeScript
23 lines
346 B
TypeScript
/// <reference types="@panda-wiki/themes/types" />
|
|
|
|
declare module '@cap.js/widget' {
|
|
interface CapOptions {
|
|
apiEndpoint: string;
|
|
}
|
|
|
|
class Cap {
|
|
constructor(options: CapOptions);
|
|
solve(): Promise<{ token: string }>;
|
|
}
|
|
|
|
export default Cap;
|
|
}
|
|
|
|
declare global {
|
|
interface Window {
|
|
_BASE_PATH_?: string;
|
|
}
|
|
}
|
|
|
|
export {};
|