import { AmendmentActions, AmendmentType, BillActions, BillType, Chambers, CommitteeActions, CommitteeReportType, CommunicationType, IAmendment, IAmendmentPathParameters, IAmendmentsQueryParameters, IAmendmentsResponse, IAppConfig, IBaseOptions, IBaseQueryParameters, IBaseResponseData, IBill, IBillsPathParameters, IBillsQueryParameters, IBillsResponse, ICommittee, ICommitteePathParameters, ICommitteeReport, ICommitteeReportPathParameters, ICommitteeReportQueryParameters, ICommitteeReportResponse, ICommitteeResponse, ICongress, ICongressionalRecord, ICongressionalRecordDigest, ICongressionalRecordIssue, ICongressionalRecordLinks, ICongressionalRecordPDF, ICongressionalRecordQueryParameters, ICongressionalRecordResponse, ICongressPathParameters, ICongressResponse, ICongressSession, IHouseCommunication, IHouseCommunicationPathParameters, IHouseCommunicationResponse, IHouseCommunicationType, ILatestAction, IMember, IMemberDepiction, IMemberPathParameters, IMemberResponse, IMemberServed, IMemberServedTimespan, INomination, INominationPathParameters, INominationResponse, INominationType, IPagination, IRequestConfig, IResponse, IResponseRequest, ISubCommittee, ISummariesPathParameters, ISummariesQueryParameters, ISummariesResponse, ISummary, ITreaty, ITreatyParts, ITreatyPathParameters, ITreatyResponse, MemberActions, NominationActions, ResponseFormat, SortType, TreatyActions } from './interfaces/index.js'; import { BaseRoute } from './lib/index.js'; export * as Enum from './interfaces/enums/index.js'; export * as Interfaces from './interfaces/index.js'; export * as Lib from './lib/index.js'; export { AmendmentActions, BillActions, IAppConfig, IPagination, SortType, IRequestConfig, IResponseRequest, IBaseResponseData, MemberActions, CommitteeActions, IAmendment, IAmendmentPathParameters, IBaseOptions, IBaseQueryParameters, IBill, IBillsPathParameters, ICommittee, ICommitteeReport, ICongressSession, IHouseCommunication, IHouseCommunicationType, ILatestAction, IMember, IMemberDepiction, IMemberServed, IMemberServedTimespan, INomination, INominationType, ISubCommittee, ICommitteeReportQueryParameters, ICommitteeReportPathParameters, IAmendmentsQueryParameters, ITreaty, ITreatyParts, IBillsQueryParameters, ICommitteePathParameters, ICongress, ICongressPathParameters, IMemberPathParameters, IResponse, ISummariesPathParameters, ISummariesQueryParameters, ISummary, AmendmentType, BillType, Chambers, CommitteeReportType, CommunicationType, ITreatyPathParameters, INominationPathParameters, IHouseCommunicationPathParameters, ICongressionalRecordQueryParameters, ICongressionalRecord, ICongressionalRecordDigest, ICongressionalRecordIssue, ICongressionalRecordLinks, ICongressionalRecordPDF, NominationActions, TreatyActions, ResponseFormat }; export declare class CongressAPI extends BaseRoute { /** * Determines which `/amendments` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * @param action An optional parameter that determines which alternate endpoint to pull data from. * * @returns Amendment data based on the provided parameters. */ getAmendments(opts?: IBaseOptions, action?: AmendmentActions): Promise>; /** * Determines which endpoint to send the request to based on the provided * `opts` object, crafts the necessary request options, and sends the request * to the API. The response is returned via Promise and the structure of the * response is determined by the `responseFormat` and `trimmedResponses` * properties of the application config. * * @param opts The options for the request. * @param action An optional parameter that determines which alternate endpoint to pull data from. * * @returns Bill data based on the provided parameters. */ getBills(opts?: IBaseOptions, action?: BillActions): Promise>; /** * Determines which `/summaries` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns Summary data based on the provided parameters. */ getSummaries(opts?: IBaseOptions): Promise>; /** * Determines which `/congress` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns Congress data based on the provided parameters. */ getCongress(opts?: IBaseOptions): Promise>; /** * Determines which `/members` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns Member data based on the provided parameters. */ getMembers(opts?: IBaseOptions, action?: MemberActions): Promise>; /** * Determines which `/committee` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns Committee data based on the provided parameters. */ getCommittees(opts?: IBaseOptions, action?: CommitteeActions): Promise>; /** * Determines which `/committeeReport` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns Committee Report data based on the provided parameters. */ getCommitteeReports(opts?: IBaseOptions): Promise>; /** * Determines which `/congressional-record` endpoint to send the request to * based on the provided `opts` object, crafts the necessary request options, * and sends the request to the API. The response is returned via Promise and * the structure of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns Congressional Record data based on the provided parameters. */ getCongressionalRecord(opts?: IBaseOptions): Promise>; /** * Determines which `/house-communication` endpoint to send the request to * based on the provided `opts` object, crafts the necessary request options, * and sends the request to the API. The response is returned via Promise and * the structure of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * * @returns House Communications data based on the provided parameters. */ getHouseCommunications(opts?: IBaseOptions): Promise>; /** * Determines which `/nomination` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * @returns Nomination data based on the provided parameters. */ getNominations(opts?: IBaseOptions, action?: NominationActions): Promise>; /** * Determines which `/treaty` endpoint to send the request to based on the * provided `opts` object, crafts the necessary request options, and sends the * request to the API. The response is returned via Promise and the structure * of the response is determined by the `responseFormat` and * `trimmedResponses` properties of the application config. * * @param opts The options for the request. * @returns Treaty data based on the provided parameters. */ getTreaties(opts?: IBaseOptions, action?: TreatyActions): Promise>; } //# sourceMappingURL=index.d.ts.map