/** * OS places search * @param {string} query - the search term * @param {string} apiKey - the OS api key */ export function searchByQuery(query: string, apiKey: string): Promise; /** * OS postcode search * @param {string} postcode - the postcode * @param {string} apiKey - the OS api key */ export function searchByPostcode(postcode: string, apiKey: string): Promise; /** * OS UPRN search * @param {string} uprn - the unique property reference number * @param {string} apiKey - the OS api key */ export function searchByUPRN(uprn: string, apiKey: string): Promise; /** * OS postcode and building name search * @param {string} postcodeQuery - the postcode query * @param {string} buildingNameQuery - the building name query * @param {string} apiKey - the OS api key */ export function search(postcodeQuery: string, buildingNameQuery: string, apiKey: string): Promise; import type { Address } from '~/src/server/plugins/postcode-lookup/types.js';