import { SurveyMonkeyBaseAction } from '../surveymonkey-base.action.js'; import { ActionParam, ActionResultSimple, RunActionParams } from '@memberjunction/actions-base'; /** * Action to create a new SurveyMonkey survey programmatically * * Security: Uses secure credential lookup via CompanyID instead of accepting tokens directly. * * @example * ```typescript * await runAction({ * ActionName: 'Create SurveyMonkey', * Params: [{ * Name: 'CompanyID', * Value: 'your-company-id' * }, { * Name: 'Title', * Value: 'Customer Satisfaction Survey' * }, { * Name: 'Pages', * Value: [{ * title: 'Page 1', * questions: [{ * family: 'single_choice', * subtype: 'vertical', * heading: 'How satisfied are you with our service?', * answers: { * choices: [ * { text: 'Very Satisfied' }, * { text: 'Satisfied' }, * { text: 'Neutral' }, * { text: 'Dissatisfied' } * ] * } * }] * }] * }, { * Name: 'Language', * Value: 'en' * }] * }); * ``` */ export declare class CreateSurveyMonkeyAction extends SurveyMonkeyBaseAction { get Description(): string; protected InternalRunAction(params: RunActionParams): Promise; get Params(): ActionParam[]; } //# sourceMappingURL=create-survey.action.d.ts.map