import { type Ref } from 'vue';
import type { DrillDownResult, InfolandAPI, ResultDetails, SearchCategory, SearchResponse, SearchResult, SearchResultGroup, SearchStepType } from '@/types/SearchTypes';
export declare function useSearch(municipalityKey?: Ref<string>, isLoggedIn?: Ref<boolean>): {
    searchTerm: Ref<string, string>;
    searchResponse: Ref<{
        cadastres?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        addresses?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        persons?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        organizations?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        cooperatives?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        places?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        shares?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        documents?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        cadastreAddresses?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
    } | null, SearchResponse | {
        cadastres?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        addresses?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        persons?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        organizations?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        cooperatives?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        places?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        shares?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        documents?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
        cadastreAddresses?: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[] | undefined;
    } | null>;
    isLoading: Ref<boolean, boolean>;
    isLoadingMore: Ref<boolean, boolean>;
    error: Ref<string, string>;
    hasSearched: Ref<boolean, boolean>;
    navigation: Ref<{
        steps: {
            label: string;
            value: string;
            type: string;
            data?: {
                id: string;
                key: string;
                title: string;
                subTitle?: string | undefined;
                type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
                propertyId?: string | undefined;
                isHistorical?: boolean | undefined;
                hasHousingCooperative?: boolean | undefined;
                owners?: {
                    key: string;
                    title: string;
                    subTitle?: string | undefined;
                    propertyId?: string | undefined;
                    type: string;
                    owners?: {
                        key?: string | undefined;
                        name?: string | undefined;
                        organizationNumber?: string | undefined;
                        socialSecurityNumber?: string | undefined;
                    }[] | undefined;
                }[] | undefined;
                addresses?: /*elided*/ any[] | undefined;
                disabled?: boolean | undefined;
                position?: {
                    type: "Point";
                    coordinates: [number, number];
                } | undefined;
                links?: {
                    cadastres?: {
                        href: string;
                    } | undefined;
                    shares?: {
                        href: string;
                    } | undefined;
                    addresses?: {
                        href: string;
                    } | undefined;
                    housing?: {
                        href: string;
                    } | undefined;
                    documents?: {
                        href: string;
                    } | undefined;
                    self?: {
                        href: string;
                    } | undefined;
                    ownedCadastres?: {
                        href: string;
                    } | undefined;
                    ownedShares?: {
                        href: string;
                    } | undefined;
                } | undefined;
                metadata?: any;
                year?: string | undefined;
                serialNumber?: string | undefined;
                documentType?: string | undefined;
                organizationNumber?: string | undefined;
                socialSecurityNumber?: string | undefined;
                shareCount?: number | undefined;
            } | undefined;
        }[];
        currentView: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[];
        selectedResultId: string | null;
        currentStepType: SearchStepType;
        isLoadingDrillDown: boolean;
        currentGroups?: {
            id: string;
            type: string;
            label: string;
            count: number;
            hasMore?: boolean | undefined;
            results: {
                id: string;
                key: string;
                title: string;
                subTitle?: string | undefined;
                type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
                propertyId?: string | undefined;
                isHistorical?: boolean | undefined;
                hasHousingCooperative?: boolean | undefined;
                owners?: {
                    key: string;
                    title: string;
                    subTitle?: string | undefined;
                    propertyId?: string | undefined;
                    type: string;
                    owners?: {
                        key?: string | undefined;
                        name?: string | undefined;
                        organizationNumber?: string | undefined;
                        socialSecurityNumber?: string | undefined;
                    }[] | undefined;
                }[] | undefined;
                addresses?: /*elided*/ any[] | undefined;
                disabled?: boolean | undefined;
                position?: {
                    type: "Point";
                    coordinates: [number, number];
                } | undefined;
                links?: {
                    cadastres?: {
                        href: string;
                    } | undefined;
                    shares?: {
                        href: string;
                    } | undefined;
                    addresses?: {
                        href: string;
                    } | undefined;
                    housing?: {
                        href: string;
                    } | undefined;
                    documents?: {
                        href: string;
                    } | undefined;
                    self?: {
                        href: string;
                    } | undefined;
                    ownedCadastres?: {
                        href: string;
                    } | undefined;
                    ownedShares?: {
                        href: string;
                    } | undefined;
                } | undefined;
                metadata?: any;
                year?: string | undefined;
                serialNumber?: string | undefined;
                documentType?: string | undefined;
                organizationNumber?: string | undefined;
                socialSecurityNumber?: string | undefined;
                shareCount?: number | undefined;
            }[];
            isLoading?: boolean | undefined;
            error?: boolean | undefined;
        }[] | undefined;
    }, {
        steps: Array<{
            label: string;
            value: string;
            type: string;
            data?: SearchResult;
        }>;
        currentView: SearchResult[];
        selectedResultId: string | null;
        currentStepType: SearchStepType;
        isLoadingDrillDown: boolean;
        currentGroups?: DrillDownResult["groups"];
    } | {
        steps: {
            label: string;
            value: string;
            type: string;
            data?: {
                id: string;
                key: string;
                title: string;
                subTitle?: string | undefined;
                type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
                propertyId?: string | undefined;
                isHistorical?: boolean | undefined;
                hasHousingCooperative?: boolean | undefined;
                owners?: {
                    key: string;
                    title: string;
                    subTitle?: string | undefined;
                    propertyId?: string | undefined;
                    type: string;
                    owners?: {
                        key?: string | undefined;
                        name?: string | undefined;
                        organizationNumber?: string | undefined;
                        socialSecurityNumber?: string | undefined;
                    }[] | undefined;
                }[] | undefined;
                addresses?: /*elided*/ any[] | undefined;
                disabled?: boolean | undefined;
                position?: {
                    type: "Point";
                    coordinates: [number, number];
                } | undefined;
                links?: {
                    cadastres?: {
                        href: string;
                    } | undefined;
                    shares?: {
                        href: string;
                    } | undefined;
                    addresses?: {
                        href: string;
                    } | undefined;
                    housing?: {
                        href: string;
                    } | undefined;
                    documents?: {
                        href: string;
                    } | undefined;
                    self?: {
                        href: string;
                    } | undefined;
                    ownedCadastres?: {
                        href: string;
                    } | undefined;
                    ownedShares?: {
                        href: string;
                    } | undefined;
                } | undefined;
                metadata?: any;
                year?: string | undefined;
                serialNumber?: string | undefined;
                documentType?: string | undefined;
                organizationNumber?: string | undefined;
                socialSecurityNumber?: string | undefined;
                shareCount?: number | undefined;
            } | undefined;
        }[];
        currentView: {
            id: string;
            key: string;
            title: string;
            subTitle?: string | undefined;
            type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
            propertyId?: string | undefined;
            isHistorical?: boolean | undefined;
            hasHousingCooperative?: boolean | undefined;
            owners?: {
                key: string;
                title: string;
                subTitle?: string | undefined;
                propertyId?: string | undefined;
                type: string;
                owners?: {
                    key?: string | undefined;
                    name?: string | undefined;
                    organizationNumber?: string | undefined;
                    socialSecurityNumber?: string | undefined;
                }[] | undefined;
            }[] | undefined;
            addresses?: /*elided*/ any[] | undefined;
            disabled?: boolean | undefined;
            position?: {
                type: "Point";
                coordinates: [number, number];
            } | undefined;
            links?: {
                cadastres?: {
                    href: string;
                } | undefined;
                shares?: {
                    href: string;
                } | undefined;
                addresses?: {
                    href: string;
                } | undefined;
                housing?: {
                    href: string;
                } | undefined;
                documents?: {
                    href: string;
                } | undefined;
                self?: {
                    href: string;
                } | undefined;
                ownedCadastres?: {
                    href: string;
                } | undefined;
                ownedShares?: {
                    href: string;
                } | undefined;
            } | undefined;
            metadata?: any;
            year?: string | undefined;
            serialNumber?: string | undefined;
            documentType?: string | undefined;
            organizationNumber?: string | undefined;
            socialSecurityNumber?: string | undefined;
            shareCount?: number | undefined;
        }[];
        selectedResultId: string | null;
        currentStepType: SearchStepType;
        isLoadingDrillDown: boolean;
        currentGroups?: {
            id: string;
            type: string;
            label: string;
            count: number;
            hasMore?: boolean | undefined;
            results: {
                id: string;
                key: string;
                title: string;
                subTitle?: string | undefined;
                type: "CADASTRE" | "SHARE" | "OWNER" | "ADDRESS" | "PLACE" | "ORGANIZATION" | "COOPERATIVE" | "DOCUMENT" | "HOUSING" | "PERSON";
                propertyId?: string | undefined;
                isHistorical?: boolean | undefined;
                hasHousingCooperative?: boolean | undefined;
                owners?: {
                    key: string;
                    title: string;
                    subTitle?: string | undefined;
                    propertyId?: string | undefined;
                    type: string;
                    owners?: {
                        key?: string | undefined;
                        name?: string | undefined;
                        organizationNumber?: string | undefined;
                        socialSecurityNumber?: string | undefined;
                    }[] | undefined;
                }[] | undefined;
                addresses?: /*elided*/ any[] | undefined;
                disabled?: boolean | undefined;
                position?: {
                    type: "Point";
                    coordinates: [number, number];
                } | undefined;
                links?: {
                    cadastres?: {
                        href: string;
                    } | undefined;
                    shares?: {
                        href: string;
                    } | undefined;
                    addresses?: {
                        href: string;
                    } | undefined;
                    housing?: {
                        href: string;
                    } | undefined;
                    documents?: {
                        href: string;
                    } | undefined;
                    self?: {
                        href: string;
                    } | undefined;
                    ownedCadastres?: {
                        href: string;
                    } | undefined;
                    ownedShares?: {
                        href: string;
                    } | undefined;
                } | undefined;
                metadata?: any;
                year?: string | undefined;
                serialNumber?: string | undefined;
                documentType?: string | undefined;
                organizationNumber?: string | undefined;
                socialSecurityNumber?: string | undefined;
                shareCount?: number | undefined;
            }[];
            isLoading?: boolean | undefined;
            error?: boolean | undefined;
        }[] | undefined;
    }>;
    hasMoreResults: Ref<boolean, boolean>;
    currentPage: Ref<number, number>;
    detailView: Ref<{
        visible: boolean;
        loading: boolean;
        error: boolean;
        data: {
            key: string;
            title: string;
            subtitle?: string | undefined;
            owners?: {
                name: string;
                share?: string | undefined;
            }[] | undefined;
            conveyance?: {
                dateRegistered?: {
                    timestamp: number;
                    formatted?: string | undefined;
                } | undefined;
                purchasePrice?: number | undefined;
                conveyanceType?: {
                    code?: string | undefined;
                    text: string;
                } | undefined;
            } | undefined;
            management?: {
                organizationNumber?: string | undefined;
                name?: string | undefined;
            } | undefined;
            validation?: {
                showInfo: boolean;
                message?: string | undefined;
                redirect?: boolean | undefined;
                links?: {
                    key: string;
                    query: string;
                }[] | undefined;
            } | undefined;
        } | null;
    }, {
        visible: boolean;
        loading: boolean;
        error: boolean;
        data: ResultDetails | null;
    } | {
        visible: boolean;
        loading: boolean;
        error: boolean;
        data: {
            key: string;
            title: string;
            subtitle?: string | undefined;
            owners?: {
                name: string;
                share?: string | undefined;
            }[] | undefined;
            conveyance?: {
                dateRegistered?: {
                    timestamp: number;
                    formatted?: string | undefined;
                } | undefined;
                purchasePrice?: number | undefined;
                conveyanceType?: {
                    code?: string | undefined;
                    text: string;
                } | undefined;
            } | undefined;
            management?: {
                organizationNumber?: string | undefined;
                name?: string | undefined;
            } | undefined;
            validation?: {
                showInfo: boolean;
                message?: string | undefined;
                redirect?: boolean | undefined;
                links?: {
                    key: string;
                    query: string;
                }[] | undefined;
            } | undefined;
        } | null;
    }>;
    isSearchOpen: import("vue").ComputedRef<boolean>;
    showCategories: import("vue").ComputedRef<boolean>;
    selectedResult: import("vue").ComputedRef<SearchResult | null>;
    allCategories: import("vue").ComputedRef<SearchCategory[]>;
    handleSearch: () => Promise<void>;
    debouncedSearch: () => void;
    selectCategory: (category: SearchCategory) => Promise<void>;
    selectGroup: (group: SearchResultGroup) => Promise<InfolandAPI | null>;
    selectResult: (result: SearchResult) => Promise<InfolandAPI | null>;
    setOnFinalSelection: (callback: (result: InfolandAPI) => void) => void;
    goToHome: () => void;
    goToStep: (index: number) => Promise<void>;
    clearSearch: () => void;
    closeSearch: () => void;
    showResults: () => void;
    hasFinalSelection: Ref<boolean, boolean>;
    loadMoreResults: () => Promise<void>;
    cleanup: () => void;
};
