|
| 1 | +/** |
| 2 | + * Ambient stubs for monorepo package typecheck under pnpm isolation. |
| 3 | + * Do not stub packages with rich real typings (zod, @supabase/supabase-js). |
| 4 | + */ |
| 5 | + |
| 6 | +declare module '@mendable/firecrawl-js' { |
| 7 | + export default class FirecrawlApp { |
| 8 | + constructor(...args: any[]); |
| 9 | + [key: string]: any; |
| 10 | + } |
| 11 | +} |
| 12 | + |
| 13 | +declare module 'exa-js' { |
| 14 | + export default class Exa { |
| 15 | + constructor(...args: any[]); |
| 16 | + search(...args: any[]): Promise<any>; |
| 17 | + searchAndContents(...args: any[]): Promise<any>; |
| 18 | + contents(...args: any[]): Promise<any>; |
| 19 | + findSimilar(...args: any[]): Promise<any>; |
| 20 | + [key: string]: any; |
| 21 | + } |
| 22 | +} |
| 23 | + |
| 24 | +declare module 'dockerode' { |
| 25 | + const Docker: any; |
| 26 | + export default Docker; |
| 27 | +} |
| 28 | + |
| 29 | +declare module 'ws' { |
| 30 | + export class WebSocket { |
| 31 | + constructor(...args: any[]); |
| 32 | + [key: string]: any; |
| 33 | + } |
| 34 | + export class WebSocketServer { |
| 35 | + constructor(...args: any[]); |
| 36 | + [key: string]: any; |
| 37 | + } |
| 38 | + const _default: typeof WebSocket; |
| 39 | + export default _default; |
| 40 | +} |
| 41 | + |
| 42 | +declare module 'openai' { |
| 43 | + export default class OpenAI { |
| 44 | + constructor(...args: any[]); |
| 45 | + [key: string]: any; |
| 46 | + } |
| 47 | +} |
| 48 | + |
| 49 | +declare module 'uuid' { |
| 50 | + export function v4(...args: any[]): string; |
| 51 | + export function v1(...args: any[]): string; |
| 52 | +} |
| 53 | + |
| 54 | +declare module 'next/headers' { |
| 55 | + export function cookies(...args: any[]): any; |
| 56 | + export function headers(...args: any[]): any; |
| 57 | +} |
| 58 | + |
| 59 | +declare module 'next/server' { |
| 60 | + export class NextRequest { |
| 61 | + constructor(...args: any[]); |
| 62 | + [key: string]: any; |
| 63 | + } |
| 64 | + export class NextResponse { |
| 65 | + constructor(body?: any, init?: any); |
| 66 | + static json(...args: any[]): any; |
| 67 | + static redirect(...args: any[]): any; |
| 68 | + static next(...args: any[]): any; |
| 69 | + [key: string]: any; |
| 70 | + } |
| 71 | +} |
| 72 | + |
| 73 | +declare module '@bitcode/system-grep' { |
| 74 | + export function simpleSystemTextSearch(...args: any[]): any; |
| 75 | + export const grep: any; |
| 76 | + const _default: any; |
| 77 | + export default _default; |
| 78 | +} |
| 79 | + |
| 80 | +declare module '@bitcode/generics' { |
| 81 | + export class BaseExecutionContext { |
| 82 | + [key: string]: any; |
| 83 | + } |
| 84 | + const _default: any; |
| 85 | + export default _default; |
| 86 | +} |
| 87 | + |
| 88 | +declare module '@bitcode/tool-generics' { |
| 89 | + export class BaseTool { |
| 90 | + [key: string]: any; |
| 91 | + } |
| 92 | + export type ToolResult = any; |
| 93 | + const _default: any; |
| 94 | + export default _default; |
| 95 | +} |
| 96 | + |
| 97 | +declare module '@bitcode/doc-prompt' { |
| 98 | + export class DocPromptBase<T = any> { |
| 99 | + [key: string]: any; |
| 100 | + } |
| 101 | + const _default: any; |
| 102 | + export default _default; |
| 103 | +} |
| 104 | + |
| 105 | +declare module '@bitcode/generic-tools/figma-api' { const x: any; export default x; export const x2: any; } |
| 106 | +declare module '@bitcode/generic-tools/design-parser' { const x: any; export default x; } |
| 107 | +declare module '@bitcode/generic-tools/code-generator' { const x: any; export default x; } |
| 108 | +declare module '@bitcode/generic-tools/language-detector' { const x: any; export default x; } |
| 109 | +declare module '@bitcode/generic-tools/sentiment-analyzer' { const x: any; export default x; } |
| 110 | +declare module '@bitcode/generic-tools/linguistic-processor' { const x: any; export default x; } |
| 111 | +declare module '@bitcode/pipelines/asset-pack' { const x: any; export default x; } |
| 112 | + |
| 113 | +declare module '@typescript-eslint/utils' { |
| 114 | + export const ESLintUtils: any; |
| 115 | + export namespace TSESTree { |
| 116 | + export type Node = any; |
| 117 | + export type ImportDeclaration = any; |
| 118 | + export type Identifier = any; |
| 119 | + export type AssignmentExpression = any; |
| 120 | + export type CallExpression = any; |
| 121 | + } |
| 122 | +} |
0 commit comments