/**
 * Initialises and dispatches the request to the postcode lookup journey
 * @param {FormRequestPayload} request - the source page
 * @param {FormResponseToolkit} h - the source page
 * @param {PostcodeLookupDispatchData} initial - the source data
 */
export function dispatch(request: FormRequestPayload, h: FormResponseToolkit, initial: PostcodeLookupDispatchData): import("@hapi/hapi").ResponseObject;
/**
 * Gets the postcode lookup routes
 * @param {PostcodeLookupConfiguration} options - ordnance survey api key
 */
export function getRoutes(options: PostcodeLookupConfiguration): (ServerRoute<PostcodeLookupGetRequestRefs> | ServerRoute<PostcodeLookupPostRequestRefs>)[];
import type { FormRequestPayload } from '../../../../server/routes/types.js';
import type { FormResponseToolkit } from '../../../../server/routes/types.js';
import type { PostcodeLookupDispatchData } from '../../../../server/plugins/postcode-lookup/types.js';
import type { PostcodeLookupConfiguration } from '../../../../server/plugins/postcode-lookup/types.js';
import type { PostcodeLookupGetRequestRefs } from '../../../../server/plugins/postcode-lookup/types.js';
import type { ServerRoute } from '@hapi/hapi';
import type { PostcodeLookupPostRequestRefs } from '../../../../server/plugins/postcode-lookup/types.js';
