import { EntryHash } from "@connoropolous/holochain-client"; import { AgentAddress, AgreementAddress, CommitmentAddress, EconomicEventAddress, EconomicResourceAddress, FulfillmentAddress, IntentAddress, PlanAddress, ProcessAddress, ProposedIntentAddress, ResourceSpecificationAddress, SatisfactionAddress } from "../types"; export interface PagingParams { last?: number; before?: EntryHash; } interface SearchInput { params: QueryParamType; } export declare type CommitmentSearchInput = SearchInput; export declare type EconomicEventSearchInput = SearchInput; export declare type FulfillmentSearchInput = SearchInput; export declare type SatisfactionSearchInput = SearchInput; export declare type ProcessSearchInput = SearchInput; export declare type ResourceSpecificationSearchInput = SearchInput; export declare type EconomicResourceSearchInput = SearchInput; export declare type IntentSearchInput = SearchInput; export declare type PlanSearchInput = SearchInput; export declare type ProposalSearchInput = SearchInput; export declare type AgentSearchInput = SearchInput; interface CommitmentQueryParam { inputOf?: ProcessAddress; outputOf?: ProcessAddress; fulfilledBy?: FulfillmentAddress; satisfies?: SatisfactionAddress; clauseOf?: AgreementAddress; independentDemandOf?: PlanAddress; plannedWithin?: PlanAddress; inScopeOf?: AgentAddress; provider?: AgentAddress; receiver?: AgentAddress; } interface EconomicEventQueryParams { inputOf?: ProcessAddress; outputOf?: ProcessAddress; satisfies?: IntentAddress; fulfills?: CommitmentAddress; realizationOf?: AgreementAddress; affects?: EconomicResourceAddress; inScopeOf?: AgentAddress; provider?: AgentAddress; receiver?: AgentAddress; } interface FulfillmentQueryParams { fulfills?: CommitmentAddress; fulfilledBy?: EconomicEventAddress; } interface SatisfactionQueryParams { satisfies?: IntentAddress; satisfiedBy?: CommitmentAddress; } interface ProcessQueryParams { observedInputs?: EconomicEventAddress; observedOutputs?: EconomicEventAddress; unplannedEconomicEvents?: EconomicEventAddress; committedInputs?: CommitmentAddress; committedOutputs?: CommitmentAddress; intendedInputs?: IntentAddress; intendedOutputs?: IntentAddress; workingAgents?: AgentAddress; plannedWithin?: PlanAddress; inScopeOf?: AgentAddress; } interface ResourceSpecificationQueryParams { conformingResources?: EconomicResourceAddress; } interface EconomicResourceQueryParams { contains?: EconomicResourceAddress; containedIn?: EconomicResourceAddress; conformsTo?: ResourceSpecificationAddress; affectedBy?: EconomicEventAddress; primaryAccountable?: AgentAddress; } interface IntentQueryParams { inputOf?: ProcessAddress; outputOf?: ProcessAddress; satisfiedBy?: SatisfactionAddress; proposedIn?: ProposedIntentAddress; inScopeOf?: AgentAddress; provider?: AgentAddress; receiver?: AgentAddress; } interface PlanQueryParams { inScopeOf?: AgentAddress; } interface ProposalQueryParams { inScopeOf?: AgentAddress; } interface AgentQueryParams { agentType?: string; } export {};