UNPKG

@a11ywatch/core

Version:
15 lines (14 loc) 547 B
import type { ServerWritableStream } from "@grpc/grpc-js"; import { CrawlParams } from "../../core/actions/accessibility/watcher_crawl"; declare type ServerCallStreaming = ServerWritableStream<{ url: string; authorization: string; subdomains: boolean; tld: boolean; sitemap: boolean; }, {}>; export declare const coreCrawl: (call: ServerCallStreaming) => Promise<ServerCallStreaming>; export declare const crawlStreaming: (props: CrawlParams & { norobo?: boolean; }, call: ServerCallStreaming) => Promise<void>; export {};