import { z } from 'zod'; import { ToolBubble } from '../../types/tool-bubble-class.js'; import type { BubbleContext } from '../../types/bubble.js'; import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas'; declare const GoogleMapsToolParamsSchema: z.ZodObject<{ operation: z.ZodEnum<["search"]>; queries: z.ZodArray; location: z.ZodOptional; limit: z.ZodOptional>; language: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search"; queries: string[]; credentials?: Partial> | undefined; limit?: number | undefined; location?: string | undefined; language?: string | undefined; }, { operation: "search"; queries: string[]; credentials?: Partial> | undefined; limit?: number | undefined; location?: string | undefined; language?: string | undefined; }>; declare const GoogleMapsToolResultSchema: z.ZodObject<{ operation: z.ZodEnum<["search"]>; places: z.ZodArray; placeId: z.ZodNullable; url: z.ZodNullable; address: z.ZodNullable; category: z.ZodNullable; website: z.ZodNullable; phone: z.ZodNullable; rating: z.ZodNullable; reviewsCount: z.ZodNullable; priceLevel: z.ZodNullable; isAdvertisement: z.ZodNullable; location: z.ZodNullable; lng: z.ZodNullable; }, "strip", z.ZodTypeAny, { lat: number | null; lng: number | null; }, { lat: number | null; lng: number | null; }>>; openingHours: z.ZodNullable; hours: z.ZodUnion<[z.ZodNullable, z.ZodNullable>]>; }, "strip", z.ZodTypeAny, { day: string | null; hours: string | string[] | null; }, { day: string | null; hours: string | string[] | null; }>, "many">>; reviews: z.ZodNullable; rating: z.ZodNullable; text: z.ZodNullable; publishedAtDate: z.ZodNullable; likesCount: z.ZodNullable; responseFromOwnerText: z.ZodNullable; }, "strip", z.ZodTypeAny, { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }, { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }>, "many">>; imageUrls: z.ZodNullable>; additionalInfo: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }, { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }>, "many">; totalPlaces: z.ZodNumber; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; places: { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }[]; totalPlaces: number; }, { error: string; success: boolean; operation: "search"; places: { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }[]; totalPlaces: number; }>; type GoogleMapsToolParams = z.output; type GoogleMapsToolResult = z.output; type GoogleMapsToolParamsInput = z.input; export declare class GoogleMapsTool extends ToolBubble { static readonly bubbleName: BubbleName; static readonly schema: z.ZodObject<{ operation: z.ZodEnum<["search"]>; queries: z.ZodArray; location: z.ZodOptional; limit: z.ZodOptional>; language: z.ZodOptional>; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "search"; queries: string[]; credentials?: Partial> | undefined; limit?: number | undefined; location?: string | undefined; language?: string | undefined; }, { operation: "search"; queries: string[]; credentials?: Partial> | undefined; limit?: number | undefined; location?: string | undefined; language?: string | undefined; }>; static readonly resultSchema: z.ZodObject<{ operation: z.ZodEnum<["search"]>; places: z.ZodArray; placeId: z.ZodNullable; url: z.ZodNullable; address: z.ZodNullable; category: z.ZodNullable; website: z.ZodNullable; phone: z.ZodNullable; rating: z.ZodNullable; reviewsCount: z.ZodNullable; priceLevel: z.ZodNullable; isAdvertisement: z.ZodNullable; location: z.ZodNullable; lng: z.ZodNullable; }, "strip", z.ZodTypeAny, { lat: number | null; lng: number | null; }, { lat: number | null; lng: number | null; }>>; openingHours: z.ZodNullable; hours: z.ZodUnion<[z.ZodNullable, z.ZodNullable>]>; }, "strip", z.ZodTypeAny, { day: string | null; hours: string | string[] | null; }, { day: string | null; hours: string | string[] | null; }>, "many">>; reviews: z.ZodNullable; rating: z.ZodNullable; text: z.ZodNullable; publishedAtDate: z.ZodNullable; likesCount: z.ZodNullable; responseFromOwnerText: z.ZodNullable; }, "strip", z.ZodTypeAny, { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }, { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }>, "many">>; imageUrls: z.ZodNullable>; additionalInfo: z.ZodNullable>>; }, "strip", z.ZodTypeAny, { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }, { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }>, "many">; totalPlaces: z.ZodNumber; success: z.ZodBoolean; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search"; places: { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }[]; totalPlaces: number; }, { error: string; success: boolean; operation: "search"; places: { title: string | null; url: string | null; phone: string | null; address: string | null; website: string | null; location: { lat: number | null; lng: number | null; } | null; rating: number | null; category: string | null; placeId: string | null; reviewsCount: number | null; openingHours: { day: string | null; hours: string | string[] | null; }[] | null; additionalInfo: Record | null; isAdvertisement: boolean | null; priceLevel: string | null; reviews: { name: string | null; text: string | null; likesCount: number | null; rating: number | null; publishedAtDate: string | null; responseFromOwnerText: string | null; }[] | null; imageUrls: string[] | null; }[]; totalPlaces: number; }>; static readonly shortDescription = "Scrape Google Maps business listings, reviews, and place data."; static readonly longDescription = "\n Universal Google Maps scraping tool.\n \n Operations:\n - search: Find businesses and places by keyword and location\n \n Uses Apify's compass/crawler-google-places.\n "; static readonly alias = "maps"; static readonly type = "tool"; constructor(params?: GoogleMapsToolParamsInput, context?: BubbleContext); performAction(): Promise; private createErrorResult; private runScraper; private transformPlaces; } export {}; //# sourceMappingURL=google-maps-tool.d.ts.map