UNPKG

@auto-browse/auto-browse

Version:
52 lines (51 loc) 1.79 kB
/** * Copyright (c) Microsoft Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { z } from 'zod'; declare const _default: (import("./tool.js").Tool<z.ZodObject<{ assertion: z.ZodEnum<["hasTitle", "hasURL"]>; expected: z.ZodString; }, "strip", z.ZodTypeAny, { expected: string; assertion: "hasTitle" | "hasURL"; }, { expected: string; assertion: "hasTitle" | "hasURL"; }>> | import("./tool.js").Tool<z.ZodObject<{ element: z.ZodString; ref: z.ZodString; assertion: z.ZodEnum<["isVisible", "hasText", "isEnabled", "isChecked"]>; expected: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { element: string; ref: string; assertion: "isVisible" | "hasText" | "isEnabled" | "isChecked"; expected?: string | undefined; }, { element: string; ref: string; assertion: "isVisible" | "hasText" | "isEnabled" | "isChecked"; expected?: string | undefined; }>> | import("./tool.js").Tool<z.ZodObject<{ assertion: z.ZodEnum<["isOK", "hasStatus"]>; expected: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { assertion: "isOK" | "hasStatus"; expected?: number | undefined; }, { assertion: "isOK" | "hasStatus"; expected?: number | undefined; }>>)[]; export default _default;