@intuned/runner-types
Advanced tools
Comparing version 0.7.1-beta-pdf-1 to 0.7.1-beta-pdf-2
@@ -248,4 +248,18 @@ declare module '@intuned/runner' { | ||
} | ||
export function extractFromPdf(pdfBuffer: Buffer, entityName: string, jsonSchema: JSONSchema, pages: [ | ||
number | ||
]): Promise<any>; | ||
export interface SearchPdfConfigs { | ||
contextWindow: number; | ||
} | ||
export type SearchPdfResult = { | ||
context: string; | ||
page: number; | ||
found: true; | ||
} | { | ||
found: false; | ||
}; | ||
export function searchPdf(dataBuffer: Buffer, searchSentence: string, options?: SearchPdfConfigs): Promise<SearchPdfResult>; | ||
export {}; | ||
} |
{ | ||
"name": "@intuned/runner-types", | ||
"version": "0.7.1-beta-pdf-1", | ||
"version": "0.7.1-beta-pdf-2", | ||
"description": "intuned runner types", | ||
@@ -5,0 +5,0 @@ "author": "Intuned Team", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10100
275