/** * Sökverktyg för Riksdagen och Regeringskansliet */ import { z } from 'zod'; /** * Sök efter ledamöter */ export declare const searchLedamoterSchema: z.ZodObject<{ namn: z.ZodOptional; parti: z.ZodOptional; valkrets: z.ZodOptional; status: z.ZodOptional; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; parti?: string | undefined; namn?: string | undefined; valkrets?: string | undefined; status?: string | undefined; }, { parti?: string | undefined; namn?: string | undefined; valkrets?: string | undefined; status?: string | undefined; limit?: number | undefined; }>; export declare function searchLedamoter(args: z.infer): Promise<{ count: number; ledamoter: any[]; }>; /** * Sök efter dokument */ export declare const searchDokumentSchema: z.ZodObject<{ titel: z.ZodOptional; doktyp: z.ZodOptional; rm: z.ZodOptional; organ: z.ZodOptional; from_date: z.ZodOptional; to_date: z.ZodOptional; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; doktyp?: string | undefined; titel?: string | undefined; rm?: string | undefined; organ?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; }, { doktyp?: string | undefined; limit?: number | undefined; titel?: string | undefined; rm?: string | undefined; organ?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; }>; export declare function searchDokument(args: z.infer): Promise<{ count: number; dokument: any[]; }>; /** * Sök efter anföranden */ export declare const searchAnforandenSchema: z.ZodObject<{ talare: z.ZodOptional; parti: z.ZodOptional; debattnamn: z.ZodOptional; text: z.ZodOptional; from_date: z.ZodOptional; to_date: z.ZodOptional; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; parti?: string | undefined; text?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; talare?: string | undefined; debattnamn?: string | undefined; }, { parti?: string | undefined; text?: string | undefined; limit?: number | undefined; from_date?: string | undefined; to_date?: string | undefined; talare?: string | undefined; debattnamn?: string | undefined; }>; export declare function searchAnforanden(args: z.infer): Promise<{ count: number; anforanden: any[]; }>; /** * Sök efter voteringar */ export declare const searchVoteringarSchema: z.ZodObject<{ titel: z.ZodOptional; rm: z.ZodOptional; from_date: z.ZodOptional; to_date: z.ZodOptional; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; titel?: string | undefined; rm?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; }, { limit?: number | undefined; titel?: string | undefined; rm?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; }>; export declare function searchVoteringar(args: z.infer): Promise<{ count: number; voteringar: any[]; }>; /** * Sök i regeringskansliets dokument */ export declare const searchRegeringSchema: z.ZodObject<{ dataType: z.ZodEnum<["pressmeddelanden", "propositioner", "departementsserien", "sou", "remisser", "rapporter"]>; titel: z.ZodOptional; departement: z.ZodOptional; from_date: z.ZodOptional; to_date: z.ZodOptional; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; dataType: "sou" | "pressmeddelanden" | "propositioner" | "departementsserien" | "remisser" | "rapporter"; departement?: string | undefined; titel?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; }, { dataType: "sou" | "pressmeddelanden" | "propositioner" | "departementsserien" | "remisser" | "rapporter"; departement?: string | undefined; limit?: number | undefined; titel?: string | undefined; from_date?: string | undefined; to_date?: string | undefined; }>; export declare function searchRegering(args: z.infer): Promise<{ dataType: "sou" | "pressmeddelanden" | "propositioner" | "departementsserien" | "remisser" | "rapporter"; count: number; dokument: any[]; }>; //# sourceMappingURL=search.d.ts.map