import type * as geoPlaces from "@distilled.cloud/aws/geo-places"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; /** * Runtime binding for `geo-places:SearchText` — free-form place search that * returns ranked results (POIs, addresses, streets) for a text query. * * geo-places is a standalone, pay-per-call Amazon Location API with no * resource to manage: the binding takes no arguments and grants the function * `geo-places:SearchText`. Requests and responses are raw distilled types (no * marshalling). * * ### Searching Places * Provide the `SearchTextHttp` implementation layer on the Function effect * (`.pipe(Effect.provide(AWS.GeoPlaces.SearchTextHttp))`), bind in the init * phase, then call the client at runtime. * * **Example:** Search for a place by text * ```typescript * // init * const searchText = yield* AWS.GeoPlaces.SearchText(); * * // runtime * const result = yield* searchText({ * QueryText: "Space Needle, Seattle", * MaxResults: 5, * }); * const first = result.ResultItems?.[0]; * ``` * * @binding */ export interface SearchText extends Binding.Service Effect.Effect<(request: geoPlaces.SearchTextRequest) => Effect.Effect>> { } export declare const SearchText: SearchText; //# sourceMappingURL=SearchText.d.ts.map