/** * File globs for workspace search, shared by the sandboxes: `*` matches within a path segment, `**` * across segments (`**\/` also matches none), `?` one character, and `{a,b}` either alternative. * Paths use `/`, are relative to the search root, and match case-sensitively. */ export declare function globMatcher(pattern: string): (path: string) => boolean; /** Directories workspace search never enters. */ export declare const SKIPPED_DIRECTORIES: ReadonlySet; /** The most directory entries, or files, one search walks. */ export declare const WALK_LIMIT = 20000; /** Files larger than this are not searched. */ export declare const GREP_FILE_BYTES = 1048576; /** One search reads no more than this, in all. */ export declare const GREP_TOTAL_BYTES: number; /** * The lines of a file that match, numbered from 1 and cut to 300 characters, at most `limit`; none * for a binary file, one with a NUL byte in its first 8,000 bytes. */ export declare function matchingLines(bytes: Uint8Array, expression: RegExp, limit: number): Array<{ line: number; text: string; }>; /** MIME types for the media a workspace tool reads as content the model sees, by file extension. */ export declare const MEDIA_TYPES: Readonly>;