import type { Models } from '../../../types/model';
export declare function fromAdministeredVaccines(models: Models, table: string, id: string): {
    where: {
        id: string;
    };
    include?: undefined;
} | {
    include: {
        model: typeof import("../../..").Encounter;
        as: string;
        required: boolean;
        where: {
            id: string;
        };
    }[];
    where?: undefined;
} | {
    include: {
        model: typeof import("../../..").Encounter;
        as: string;
        required: boolean;
        include: {
            model: typeof import("../../..").Patient;
            as: string;
            required: boolean;
            where: {
                id: string;
            };
        }[];
    }[];
    where?: undefined;
} | {
    include: {
        model: typeof import("../../..").ScheduledVaccine;
        as: string;
        required: boolean;
        include: {
            model: typeof import("../../..").ReferenceData;
            as: string;
            required: boolean;
            where: {
                id: string;
            };
        }[];
    }[];
    where?: undefined;
} | {
    include: {
        model: typeof import("../../..").ScheduledVaccine;
        as: string;
        required: boolean;
        where: {
            id: string;
        };
    }[];
    where?: undefined;
} | {
    include: {
        model: typeof import("../../..").User;
        as: string;
        required: boolean;
        where: {
            id: string;
        };
    }[];
    where?: undefined;
} | null;
//# sourceMappingURL=getQueryToFindUpstreamIds.d.ts.map